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