Package com.vmware.nsx_policy.model
Class IdfwUserStats.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.IdfwUserStats.Builder
-
- Enclosing class:
- IdfwUserStats
public static final class IdfwUserStats.Builder extends java.lang.Object
Builder class forIdfwUserStats
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofIdfwUserStats
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdfwUserStats
build()
IdfwUserStats.Builder
setActiveSessions(java.util.List<IdfwUserSessionData> activeSessions)
List of active (still logged in) user login/sessions data (no limit)IdfwUserStats.Builder
setArchivedSessions(java.util.List<IdfwUserSessionData> archivedSessions)
Optional list of up to 5 most recent archived (previously logged in) user login/session data.IdfwUserStats.Builder
setUserId(java.lang.String userId)
AD user Identifier (String ID) This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofIdfwUserStats
.
-
-
Method Detail
-
setActiveSessions
public IdfwUserStats.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 IdfwUserStats.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.
-
setUserId
public IdfwUserStats.Builder setUserId(java.lang.String userId)
AD user Identifier (String ID) This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
userId
- New value for the property.
-
build
public IdfwUserStats build()
-
-