Package com.vmware.nsx_policy.model
Class FederationGatewayConfig.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.FederationGatewayConfig.Builder
-
- Enclosing class:
- FederationGatewayConfig
public static final class FederationGatewayConfig.Builder extends java.lang.Object
Builder class forFederationGatewayConfig
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofFederationGatewayConfig
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FederationGatewayConfig
build()
FederationGatewayConfig.Builder
setGlobalOverlayId(java.lang.Long globalOverlayId)
Global id for by Layer3 services for federation usecases.FederationGatewayConfig.Builder
setSiteAllocationIndices(java.util.List<SiteAllocationIndexForEdge> siteAllocationIndices)
Indicies for cross site allocation for edge cluster and its members referred by gateway.FederationGatewayConfig.Builder
setTransitSegmentId(java.lang.String transitSegmentId)
Global UUID for transit segment id to be used by Layer2 services for federation usecases.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofFederationGatewayConfig
.
-
-
Method Detail
-
setGlobalOverlayId
public FederationGatewayConfig.Builder setGlobalOverlayId(java.lang.Long globalOverlayId)
Global id for by Layer3 services for federation usecases. 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:
globalOverlayId
- New value for the property.
-
setSiteAllocationIndices
public FederationGatewayConfig.Builder setSiteAllocationIndices(java.util.List<SiteAllocationIndexForEdge> siteAllocationIndices)
Indicies for cross site allocation for edge cluster and its members referred by gateway. 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:
siteAllocationIndices
- New value for the property.
-
setTransitSegmentId
public FederationGatewayConfig.Builder setTransitSegmentId(java.lang.String transitSegmentId)
Global UUID for transit segment id to be used by Layer2 services for federation usecases. 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:
transitSegmentId
- New value for the property.
-
build
public FederationGatewayConfig build()
-
-