Package com.vmware.nsx.model
Class SubPool.Builder
- java.lang.Object
-
- com.vmware.nsx.model.SubPool.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubPool
build()
SubPool.Builder
setRemainingCreditNumber(java.lang.Long remainingCreditNumber)
Credits remaining on the sub-pool that can be used to deploy services of corresponding sub-pool type.SubPool.Builder
setSubPoolType(java.lang.String subPoolType)
Type of the sub-pool configured on edge node.SubPool.Builder
setUsagePercentage(java.lang.Double usagePercentage)
Percentage utlization of sub-pool based on the number of services configured and the hard limits, if any.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofSubPool
.
-
-
Method Detail
-
setRemainingCreditNumber
public SubPool.Builder setRemainingCreditNumber(java.lang.Long remainingCreditNumber)
Credits remaining on the sub-pool that can be used to deploy services of corresponding sub-pool type. format: int32 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:
remainingCreditNumber
- New value for the property.
-
setSubPoolType
public SubPool.Builder setSubPoolType(java.lang.String subPoolType)
Type of the sub-pool configured on edge 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:
subPoolType
- New value for the property.
-
setUsagePercentage
public SubPool.Builder setUsagePercentage(java.lang.Double usagePercentage)
Percentage utlization of sub-pool based on the number of services configured and the hard limits, if any. 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:
usagePercentage
- New value for the property.
-
build
public SubPool build()
-
-