Package com.vmware.nsx_policy.model
Class LBServiceCountPerSeverity.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LBServiceCountPerSeverity.Builder
-
- Enclosing class:
- LBServiceCountPerSeverity
public static final class LBServiceCountPerSeverity.Builder extends java.lang.Object
Builder class forLBServiceCountPerSeverity
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLBServiceCountPerSeverity
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LBServiceCountPerSeverity
build()
LBServiceCountPerSeverity.Builder
setServiceCount(java.lang.Long serviceCount)
Service count for specific serverity.LBServiceCountPerSeverity.Builder
setSeverity(java.lang.String severity)
Possible values are:LBServiceCountPerSeverity.SEVERITY_GREEN
LBServiceCountPerSeverity.SEVERITY_ORANGE
LBServiceCountPerSeverity.SEVERITY_RED
The severity calculation is based on current usage percentage for one load balancer service.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLBServiceCountPerSeverity
.
-
-
Method Detail
-
setServiceCount
public LBServiceCountPerSeverity.Builder setServiceCount(java.lang.Long serviceCount)
Service count for specific serverity. 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:
serviceCount
- New value for the property.
-
setSeverity
public LBServiceCountPerSeverity.Builder setSeverity(java.lang.String severity)
Possible values are: The severity calculation is based on current usage percentage for one load balancer service. 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:
severity
- New value for the property.
-
build
public LBServiceCountPerSeverity build()
-
-