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.ObjectBuilder 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 LBServiceCountPerSeveritybuild()LBServiceCountPerSeverity.BuildersetServiceCount(java.lang.Long serviceCount)Service count for specific serverity.LBServiceCountPerSeverity.BuildersetSeverity(java.lang.String severity)Possible values are:LBServiceCountPerSeverity.SEVERITY_GREENLBServiceCountPerSeverity.SEVERITY_ORANGELBServiceCountPerSeverity.SEVERITY_REDThe 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()
-
-