Package com.vmware.nsx_policy.model
Class LBVirtualServerStatistics.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LBVirtualServerStatistics.Builder
-
- Enclosing class:
- LBVirtualServerStatistics
public static final class LBVirtualServerStatistics.Builder extends java.lang.Object
Builder class forLBVirtualServerStatistics
.
-
-
Constructor Summary
Constructors Constructor Description Builder(java.lang.String resourceType)
Constructor with parameters for the required properties ofLBVirtualServerStatistics
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LBVirtualServerStatistics
build()
LBVirtualServerStatistics.Builder
setAlarm(PolicyRuntimeAlarm alarm)
LBVirtualServerStatistics.Builder
setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy Path referencing the enforcement point where the info is fetched.LBVirtualServerStatistics.Builder
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated.LBVirtualServerStatistics.Builder
setStatistics(LBStatisticsCounter statistics)
LBVirtualServerStatistics.Builder
setVirtualServerPath(java.lang.String virtualServerPath)
load balancer virtual server object path.
-
-
-
Constructor Detail
-
Builder
public Builder(java.lang.String resourceType)
Constructor with parameters for the required properties ofLBVirtualServerStatistics
.
-
-
Method Detail
-
setLastUpdateTimestamp
public LBVirtualServerStatistics.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.
-
setStatistics
public LBVirtualServerStatistics.Builder setStatistics(LBStatisticsCounter statistics)
- Parameters:
statistics
- New value for the property.
-
setVirtualServerPath
public LBVirtualServerStatistics.Builder setVirtualServerPath(java.lang.String virtualServerPath)
load balancer virtual server 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:
virtualServerPath
- New value for the property.
-
setAlarm
public LBVirtualServerStatistics.Builder setAlarm(PolicyRuntimeAlarm alarm)
- Parameters:
alarm
- New value for the property.
-
setEnforcementPointPath
public LBVirtualServerStatistics.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 LBVirtualServerStatistics build()
-
-