Package com.vmware.nsx_policy.model
Class IdfwVmStats.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.IdfwVmStats.Builder
-
- Enclosing class:
- IdfwVmStats
public static final class IdfwVmStats.Builder extends java.lang.Object
Builder class forIdfwVmStats
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofIdfwVmStats
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdfwVmStats
build()
IdfwVmStats.Builder
setActiveSessions(java.util.List<IdfwUserSessionData> activeSessions)
List of active (still logged in) user login/sessions data (no limit)IdfwVmStats.Builder
setArchivedSessions(java.util.List<IdfwUserSessionData> archivedSessions)
Optional list of up to 5 most recent archived (previously logged in) user login/session data.IdfwVmStats.Builder
setVmExtId(java.lang.String vmExtId)
Virtual machine (external ID or BIOS UUID) where login/logout event occurred.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofIdfwVmStats
.
-
-
Method Detail
-
setActiveSessions
public IdfwVmStats.Builder setActiveSessions(java.util.List<IdfwUserSessionData> activeSessions)
List of active (still logged in) user login/sessions data (no limit)- Parameters:
activeSessions
- New value for the property.
-
setArchivedSessions
public IdfwVmStats.Builder setArchivedSessions(java.util.List<IdfwUserSessionData> archivedSessions)
Optional list of up to 5 most recent archived (previously logged in) user login/session data.- Parameters:
archivedSessions
- New value for the property.
-
setVmExtId
public IdfwVmStats.Builder setVmExtId(java.lang.String vmExtId)
Virtual machine (external ID or BIOS UUID) where login/logout event occurred.- Parameters:
vmExtId
- New value for the property.
-
build
public IdfwVmStats build()
-
-