Package com.vmware.nsx_policy.model
Class Tier0HaVipConfig.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.Tier0HaVipConfig.Builder
-
- Enclosing class:
- Tier0HaVipConfig
public static final class Tier0HaVipConfig.Builder extends java.lang.Object
Builder class forTier0HaVipConfig
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofTier0HaVipConfig
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tier0HaVipConfig
build()
Tier0HaVipConfig.Builder
setEnabled(java.lang.Boolean enabled)
Flag to enable this HA VIP config.Tier0HaVipConfig.Builder
setExternalInterfacePaths(java.util.List<java.lang.String> externalInterfacePaths)
Policy paths to Tier0 external interfaces which are to be paired to provide redundancy.Tier0HaVipConfig.Builder
setVipSubnets(java.util.List<InterfaceSubnet> vipSubnets)
Array of IP address subnets which will be used as floating IP addresses.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTier0HaVipConfig
.
-
-
Method Detail
-
setEnabled
public Tier0HaVipConfig.Builder setEnabled(java.lang.Boolean enabled)
Flag to enable this HA VIP config.- Parameters:
enabled
- New value for the property.
-
setExternalInterfacePaths
public Tier0HaVipConfig.Builder setExternalInterfacePaths(java.util.List<java.lang.String> externalInterfacePaths)
Policy paths to Tier0 external interfaces which are to be paired to provide redundancy. Floating IP will be owned by one of these interfaces depending upon which edge node is Active.- Parameters:
externalInterfacePaths
- New value for the property.
-
setVipSubnets
public Tier0HaVipConfig.Builder setVipSubnets(java.util.List<InterfaceSubnet> vipSubnets)
Array of IP address subnets which will be used as floating IP addresses.- Parameters:
vipSubnets
- New value for the property.
-
build
public Tier0HaVipConfig build()
-
-