Package com.vmware.nsx_policy.model
Class LBServiceStatistics.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LBServiceStatistics.Builder
-
- Enclosing class:
- LBServiceStatistics
public static final class LBServiceStatistics.Builder extends java.lang.Object
Builder class forLBServiceStatistics
.
-
-
Constructor Summary
Constructors Constructor Description Builder(java.lang.String resourceType)
Constructor with parameters for the required properties ofLBServiceStatistics
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LBServiceStatistics
build()
LBServiceStatistics.Builder
setAlarm(PolicyRuntimeAlarm alarm)
LBServiceStatistics.Builder
setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy Path referencing the enforcement point where the info is fetched.LBServiceStatistics.Builder
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated.LBServiceStatistics.Builder
setPools(java.util.List<LBPoolStatistics> pools)
Statistics of load balancer pools This property may be present in responses from the server, but if it is present in a request to server it will be ignored.LBServiceStatistics.Builder
setServicePath(java.lang.String servicePath)
load balancer service identifier.LBServiceStatistics.Builder
setStatistics(LBServiceStatisticsCounter statistics)
LBServiceStatistics.Builder
setVirtualServers(java.util.List<LBVirtualServerStatistics> virtualServers)
Statistics of load balancer virtual servers.
-
-
-
Constructor Detail
-
Builder
public Builder(java.lang.String resourceType)
Constructor with parameters for the required properties ofLBServiceStatistics
.
-
-
Method Detail
-
setLastUpdateTimestamp
public LBServiceStatistics.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.
-
setPools
public LBServiceStatistics.Builder setPools(java.util.List<LBPoolStatistics> pools)
Statistics of load balancer pools 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:
pools
- New value for the property.
-
setServicePath
public LBServiceStatistics.Builder setServicePath(java.lang.String servicePath)
load balancer service identifier. 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:
servicePath
- New value for the property.
-
setStatistics
public LBServiceStatistics.Builder setStatistics(LBServiceStatisticsCounter statistics)
- Parameters:
statistics
- New value for the property.
-
setVirtualServers
public LBServiceStatistics.Builder setVirtualServers(java.util.List<LBVirtualServerStatistics> virtualServers)
Statistics of load balancer virtual servers. 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:
virtualServers
- New value for the property.
-
setAlarm
public LBServiceStatistics.Builder setAlarm(PolicyRuntimeAlarm alarm)
- Parameters:
alarm
- New value for the property.
-
setEnforcementPointPath
public LBServiceStatistics.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 LBServiceStatistics build()
-
-