Package com.vmware.nsx_policy.model
Class GatewaySiteFailoverActionConfig.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.GatewaySiteFailoverActionConfig.Builder
-
- Enclosing class:
- GatewaySiteFailoverActionConfig
public static final class GatewaySiteFailoverActionConfig.Builder extends java.lang.Object
Builder class forGatewaySiteFailoverActionConfig
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofGatewaySiteFailoverActionConfig
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GatewaySiteFailoverActionConfig
build()
GatewaySiteFailoverActionConfig.Builder
setFromSitePath(java.lang.String fromSitePath)
Source site path for failover.GatewaySiteFailoverActionConfig.Builder
setToPrimarySiteConfig(java.util.List<GatewayRecoverySiteConfig> toPrimarySiteConfig)
Recovery stie for Tier-0 gateway and linked Tier-1 gateway.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofGatewaySiteFailoverActionConfig
.
-
-
Method Detail
-
setFromSitePath
public GatewaySiteFailoverActionConfig.Builder setFromSitePath(java.lang.String fromSitePath)
Source site path for failover. Gateway whose primary site path matches from_site_path are considered for recovery.- Parameters:
fromSitePath
- New value for the property.
-
setToPrimarySiteConfig
public GatewaySiteFailoverActionConfig.Builder setToPrimarySiteConfig(java.util.List<GatewayRecoverySiteConfig> toPrimarySiteConfig)
Recovery stie for Tier-0 gateway and linked Tier-1 gateway.- Parameters:
toPrimarySiteConfig
- New value for the property.
-
build
public GatewaySiteFailoverActionConfig build()
-
-