Package com.vmware.nsx_policy.model
Class GatewayRecoverySiteConfig.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.GatewayRecoverySiteConfig.Builder
-
- Enclosing class:
- GatewayRecoverySiteConfig
public static final class GatewayRecoverySiteConfig.Builder extends java.lang.Object
Builder class forGatewayRecoverySiteConfig
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofGatewayRecoverySiteConfig
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GatewayRecoverySiteConfig
build()
GatewayRecoverySiteConfig.Builder
setFailoverLinkedTier1Gateway(java.lang.Boolean failoverLinkedTier1Gateway)
Linked Tier1 gateway whose primary site matches from_site_path and are stretched to new primary site are recovered on new primary site path.GatewayRecoverySiteConfig.Builder
setTier0GatewayPath(java.lang.String tier0GatewayPath)
Path of Tier-0 gatewayGatewayRecoverySiteConfig.Builder
setToPrimarySitePath(java.lang.String toPrimarySitePath)
Recovery site path
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofGatewayRecoverySiteConfig
.
-
-
Method Detail
-
setFailoverLinkedTier1Gateway
public GatewayRecoverySiteConfig.Builder setFailoverLinkedTier1Gateway(java.lang.Boolean failoverLinkedTier1Gateway)
Linked Tier1 gateway whose primary site matches from_site_path and are stretched to new primary site are recovered on new primary site path.- Parameters:
failoverLinkedTier1Gateway
- New value for the property.
-
setTier0GatewayPath
public GatewayRecoverySiteConfig.Builder setTier0GatewayPath(java.lang.String tier0GatewayPath)
Path of Tier-0 gateway- Parameters:
tier0GatewayPath
- New value for the property.
-
setToPrimarySitePath
public GatewayRecoverySiteConfig.Builder setToPrimarySitePath(java.lang.String toPrimarySitePath)
Recovery site path- Parameters:
toPrimarySitePath
- New value for the property.
-
build
public GatewayRecoverySiteConfig build()
-
-