public static final class ServiceRouterAllocationConfig.Builder
extends java.lang.Object
ServiceRouterAllocationConfig
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ServiceRouterAllocationConfig . |
Modifier and Type | Method and Description |
---|---|
ServiceRouterAllocationConfig |
build() |
ServiceRouterAllocationConfig.Builder |
setAllocationPool(com.vmware.vapi.bindings.Structure allocationPool) |
ServiceRouterAllocationConfig.Builder |
setEdgeClusterId(java.lang.String edgeClusterId)
To reallocate TIER1 logical router on new or existing edge cluster
|
ServiceRouterAllocationConfig.Builder |
setEdgeClusterMemberIndices(java.util.List<java.lang.Long> edgeClusterMemberIndices)
For TIER 1 logical router, for manual placement of service router within the
cluster, edge cluster member indices needs to be provided else same will be
auto-allocated.
|
public Builder()
ServiceRouterAllocationConfig
.public ServiceRouterAllocationConfig.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 ServiceRouterAllocationConfig.Builder setEdgeClusterId(java.lang.String edgeClusterId)
edgeClusterId
- New value for the property.public ServiceRouterAllocationConfig.Builder setEdgeClusterMemberIndices(java.util.List<java.lang.Long> edgeClusterMemberIndices)
edgeClusterMemberIndices
- New value for the property.public ServiceRouterAllocationConfig build()