Package com.vmware.nsx_policy.model
Class IdfwSystemStats.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.IdfwSystemStats.Builder
-
- Enclosing class:
- IdfwSystemStats
public static final class IdfwSystemStats.Builder extends java.lang.Object
Builder class forIdfwSystemStats
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofIdfwSystemStats
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdfwSystemStats
build()
IdfwSystemStats.Builder
setNumConcurrentUsers(java.lang.Long numConcurrentUsers)
Number of concurrent logged on users (across VDI & RDSH).IdfwSystemStats.Builder
setNumUserSessions(java.lang.Long numUserSessions)
Number of active user sessions/logins in IDFW enabled compute collections (including both UP and DOWN hosts).
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofIdfwSystemStats
.
-
-
Method Detail
-
setNumConcurrentUsers
public IdfwSystemStats.Builder setNumConcurrentUsers(java.lang.Long numConcurrentUsers)
Number of concurrent logged on users (across VDI & RDSH). Multiple logins by the same user is counted as 1. format: int32- Parameters:
numConcurrentUsers
- New value for the property.
-
setNumUserSessions
public IdfwSystemStats.Builder setNumUserSessions(java.lang.Long numUserSessions)
Number of active user sessions/logins in IDFW enabled compute collections (including both UP and DOWN hosts). N sessions/logins by the same user is counted as n. format: int32- Parameters:
numUserSessions
- New value for the property.
-
build
public IdfwSystemStats build()
-
-