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.ObjectBuilder 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 LBNodeCountPerSeveritybuild()LBNodeCountPerSeverity.BuildersetNodeCount(java.lang.Long nodeCount)Node count for specific serverity.LBNodeCountPerSeverity.BuildersetSeverity(java.lang.String severity)Possible values are:LBNodeCountPerSeverity.SEVERITY_GREENLBNodeCountPerSeverity.SEVERITY_ORANGELBNodeCountPerSeverity.SEVERITY_REDThe 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()
-
-