Package com.vmware.nsx_policy.model
Class LBPoolStatistics.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LBPoolStatistics.Builder
-
- Enclosing class:
- LBPoolStatistics
public static final class LBPoolStatistics.Builder extends java.lang.Object
Builder class forLBPoolStatistics
.
-
-
Constructor Summary
Constructors Constructor Description Builder(java.lang.String resourceType)
Constructor with parameters for the required properties ofLBPoolStatistics
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LBPoolStatistics
build()
LBPoolStatistics.Builder
setAlarm(PolicyRuntimeAlarm alarm)
LBPoolStatistics.Builder
setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy Path referencing the enforcement point where the info is fetched.LBPoolStatistics.Builder
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated.LBPoolStatistics.Builder
setMembers(java.util.List<LBPoolMemberStatistics> members)
Statistics of load balancer pool members.LBPoolStatistics.Builder
setPoolPath(java.lang.String poolPath)
Load balancer pool object path.LBPoolStatistics.Builder
setStatistics(LBStatisticsCounter statistics)
-
-
-
Constructor Detail
-
Builder
public Builder(java.lang.String resourceType)
Constructor with parameters for the required properties ofLBPoolStatistics
.
-
-
Method Detail
-
setLastUpdateTimestamp
public LBPoolStatistics.Builder setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated. format: int64 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:
lastUpdateTimestamp
- New value for the property.
-
setMembers
public LBPoolStatistics.Builder setMembers(java.util.List<LBPoolMemberStatistics> members)
Statistics of load balancer pool members. 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:
members
- New value for the property.
-
setPoolPath
public LBPoolStatistics.Builder setPoolPath(java.lang.String poolPath)
Load balancer pool object path. 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:
poolPath
- New value for the property.
-
setStatistics
public LBPoolStatistics.Builder setStatistics(LBStatisticsCounter statistics)
- Parameters:
statistics
- New value for the property.
-
setAlarm
public LBPoolStatistics.Builder setAlarm(PolicyRuntimeAlarm alarm)
- Parameters:
alarm
- New value for the property.
-
setEnforcementPointPath
public LBPoolStatistics.Builder setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy Path referencing the enforcement point where the info is fetched. 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:
enforcementPointPath
- New value for the property.
-
build
public LBPoolStatistics build()
-
-