Package com.vmware.nsx_policy.model
Class Tier0RouteRedistributionConfig.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.Tier0RouteRedistributionConfig.Builder
-
- Enclosing class:
- Tier0RouteRedistributionConfig
public static final class Tier0RouteRedistributionConfig.Builder extends java.lang.Object
Builder class forTier0RouteRedistributionConfig
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofTier0RouteRedistributionConfig
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tier0RouteRedistributionConfig
build()
Tier0RouteRedistributionConfig.Builder
setBgpEnabled(java.lang.Boolean bgpEnabled)
Flag to enable route redistribution for BGP.Tier0RouteRedistributionConfig.Builder
setOspfEnabled(java.lang.Boolean ospfEnabled)
Flag to enable route redistribution for OSPF.Tier0RouteRedistributionConfig.Builder
setRedistributionRules(java.util.List<Tier0RouteRedistributionRule> redistributionRules)
List of redistribution rules.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTier0RouteRedistributionConfig
.
-
-
Method Detail
-
setBgpEnabled
public Tier0RouteRedistributionConfig.Builder setBgpEnabled(java.lang.Boolean bgpEnabled)
Flag to enable route redistribution for BGP.- Parameters:
bgpEnabled
- New value for the property.
-
setOspfEnabled
public Tier0RouteRedistributionConfig.Builder setOspfEnabled(java.lang.Boolean ospfEnabled)
Flag to enable route redistribution for OSPF.- Parameters:
ospfEnabled
- New value for the property.
-
setRedistributionRules
public Tier0RouteRedistributionConfig.Builder setRedistributionRules(java.util.List<Tier0RouteRedistributionRule> redistributionRules)
List of redistribution rules.- Parameters:
redistributionRules
- New value for the property.
-
build
public Tier0RouteRedistributionConfig build()
-
-