Package com.vmware.nsx_policy.model
Class Tier0RouteRedistributionRule.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.Tier0RouteRedistributionRule.Builder
-
- Enclosing class:
- Tier0RouteRedistributionRule
public static final class Tier0RouteRedistributionRule.Builder extends java.lang.Object
Builder class forTier0RouteRedistributionRule
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofTier0RouteRedistributionRule
.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTier0RouteRedistributionRule
.
-
-
Method Detail
-
setDestinations
public Tier0RouteRedistributionRule.Builder setDestinations(java.util.List<java.lang.String> destinations)
Possible values are: Each rule can have more than one destinations. If destinations not specified for a given rule, default destionation will be BGP- Parameters:
destinations
- New value for the property.
-
setName
public Tier0RouteRedistributionRule.Builder setName(java.lang.String name)
Rule name- Parameters:
name
- New value for the property.
-
setRouteMapPath
public Tier0RouteRedistributionRule.Builder setRouteMapPath(java.lang.String routeMapPath)
Route map to be associated with the redistribution rule- Parameters:
routeMapPath
- New value for the property.
-
setRouteRedistributionTypes
public Tier0RouteRedistributionRule.Builder setRouteRedistributionTypes(java.util.List<java.lang.String> routeRedistributionTypes)
Possible values are:-
Tier0RouteRedistributionRule.ROUTE_REDISTRIBUTION_TYPES_TIER0_STATIC
-
Tier0RouteRedistributionRule.ROUTE_REDISTRIBUTION_TYPES_TIER0_CONNECTED
-
Tier0RouteRedistributionRule.ROUTE_REDISTRIBUTION_TYPES_TIER0_EXTERNAL_INTERFACE
-
Tier0RouteRedistributionRule.ROUTE_REDISTRIBUTION_TYPES_TIER0_SEGMENT
-
Tier0RouteRedistributionRule.ROUTE_REDISTRIBUTION_TYPES_TIER0_ROUTER_LINK
-
Tier0RouteRedistributionRule.ROUTE_REDISTRIBUTION_TYPES_TIER0_SERVICE_INTERFACE
-
Tier0RouteRedistributionRule.ROUTE_REDISTRIBUTION_TYPES_TIER0_LOOPBACK_INTERFACE
-
Tier0RouteRedistributionRule.ROUTE_REDISTRIBUTION_TYPES_TIER0_DNS_FORWARDER_IP
-
Tier0RouteRedistributionRule.ROUTE_REDISTRIBUTION_TYPES_TIER0_IPSEC_LOCAL_IP
-
Tier0RouteRedistributionRule.ROUTE_REDISTRIBUTION_TYPES_TIER0_NAT
-
Tier0RouteRedistributionRule.ROUTE_REDISTRIBUTION_TYPES_TIER0_EVPN_TEP_IP
-
Tier0RouteRedistributionRule.ROUTE_REDISTRIBUTION_TYPES_TIER1_NAT
-
Tier0RouteRedistributionRule.ROUTE_REDISTRIBUTION_TYPES_TIER1_STATIC
-
Tier0RouteRedistributionRule.ROUTE_REDISTRIBUTION_TYPES_TIER1_LB_VIP
-
Tier0RouteRedistributionRule.ROUTE_REDISTRIBUTION_TYPES_TIER1_LB_SNAT
-
Tier0RouteRedistributionRule.ROUTE_REDISTRIBUTION_TYPES_TIER1_DNS_FORWARDER_IP
-
Tier0RouteRedistributionRule.ROUTE_REDISTRIBUTION_TYPES_TIER1_CONNECTED
-
Tier0RouteRedistributionRule.ROUTE_REDISTRIBUTION_TYPES_TIER1_SERVICE_INTERFACE
-
Tier0RouteRedistributionRule.ROUTE_REDISTRIBUTION_TYPES_TIER1_SEGMENT
-
Tier0RouteRedistributionRule.ROUTE_REDISTRIBUTION_TYPES_TIER1_IPSEC_LOCAL_ENDPOINT
-
Tier0RouteRedistributionRule.ROUTE_REDISTRIBUTION_TYPES_INTER_VRF_STATIC
- Parameters:
routeRedistributionTypes
- New value for the property.
-
-
build
public Tier0RouteRedistributionRule build()
-
-