public static final class PolicyPolicyResourceAllocation.Builder
extends java.lang.Object
PolicyPolicyResourceAllocation.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
PolicyPolicyResourceAllocation. |
| Modifier and Type | Method and Description |
|---|---|
PolicyPolicyResourceAllocation |
build() |
PolicyPolicyResourceAllocation.Builder |
setLimit(java.lang.Double limit)
The limit property specifies the maximum bandwidth allocation for a given
traffic type and is expressed in percentage.
|
PolicyPolicyResourceAllocation.Builder |
setReservation(java.lang.Double reservation)
Minimum guaranteed bandwidth percentage
|
PolicyPolicyResourceAllocation.Builder |
setShares(java.lang.Long shares)
Shares format: int32
|
PolicyPolicyResourceAllocation.Builder |
setTrafficType(PolicyHostInfraTrafficType trafficType) |
public Builder()
PolicyPolicyResourceAllocation.public PolicyPolicyResourceAllocation.Builder setLimit(java.lang.Double limit)
limit - New value for the property.public PolicyPolicyResourceAllocation.Builder setReservation(java.lang.Double reservation)
reservation - New value for the property.public PolicyPolicyResourceAllocation.Builder setShares(java.lang.Long shares)
shares - New value for the property.public PolicyPolicyResourceAllocation.Builder setTrafficType(PolicyHostInfraTrafficType trafficType)
trafficType - New value for the property.public PolicyPolicyResourceAllocation build()