public static final class EdgeClusterMemberAllocationProfile.Builder
extends java.lang.Object
EdgeClusterMemberAllocationProfile
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
EdgeClusterMemberAllocationProfile . |
Modifier and Type | Method and Description |
---|---|
EdgeClusterMemberAllocationProfile |
build() |
EdgeClusterMemberAllocationProfile.Builder |
setAllocationPool(com.vmware.vapi.bindings.Structure allocationPool) |
EdgeClusterMemberAllocationProfile.Builder |
setAllocationType(java.lang.String allocationType)
Possible values are:
EdgeClusterMemberAllocationProfile.ALLOCATION_TYPE_MANUAL
EdgeClusterMemberAllocationProfile.ALLOCATION_TYPE_AUTO
Allocation type is used to specify the mode used to allocate the LR. |
EdgeClusterMemberAllocationProfile.Builder |
setEnableStandbyRelocation(java.lang.Boolean enableStandbyRelocation)
Flag to enable the auto-relocation of standby service router running on edge
cluster and node associated with the logical router.
|
public Builder()
EdgeClusterMemberAllocationProfile
.public EdgeClusterMemberAllocationProfile.Builder setAllocationPool(com.vmware.vapi.bindings.Structure allocationPool)
allocationPool
- New value for the property.
When clients pass a value of this class as a parameter, the property must
contain all the properties defined in EdgeClusterMemberAllocationPool
. When methods return a
value of this class as a return value, the property will contain all the
properties defined in EdgeClusterMemberAllocationPool
.public EdgeClusterMemberAllocationProfile.Builder setAllocationType(java.lang.String allocationType)
allocationType
- New value for the property.public EdgeClusterMemberAllocationProfile.Builder setEnableStandbyRelocation(java.lang.Boolean enableStandbyRelocation)
enableStandbyRelocation
- New value for the property.public EdgeClusterMemberAllocationProfile build()