Package com.vmware.nsx_policy.model
Class SiteAllocationIndexForEdge.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.SiteAllocationIndexForEdge.Builder
-
- Enclosing class:
- SiteAllocationIndexForEdge
public static final class SiteAllocationIndexForEdge.Builder extends java.lang.Object
Builder class forSiteAllocationIndexForEdge
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofSiteAllocationIndexForEdge
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SiteAllocationIndexForEdge
build()
SiteAllocationIndexForEdge.Builder
setIndex(java.lang.Long index)
Unqiue edge cluster node index across sites based on stretch of the Gateway.SiteAllocationIndexForEdge.Builder
setTargetResourcePath(java.lang.String targetResourcePath)
Edge cluster or edge node path This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofSiteAllocationIndexForEdge
.
-
-
Method Detail
-
setIndex
public SiteAllocationIndexForEdge.Builder setIndex(java.lang.Long index)
Unqiue edge cluster node index across sites based on stretch of the Gateway. For example, if a Gateway is streched to sites S1 with one edge cluster of 3 nodes and site S2 with one edge cluster of 2 nodes, the in the Global Manager will allocate the index for 5 edge nodes and 2 cluster in the rage 0 to 7. 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:
index
- New value for the property.
-
setTargetResourcePath
public SiteAllocationIndexForEdge.Builder setTargetResourcePath(java.lang.String targetResourcePath)
Edge cluster or edge node path 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:
targetResourcePath
- New value for the property.
-
build
public SiteAllocationIndexForEdge build()
-
-