Package com.vmware.nsx_policy.model
Class Tier0RouteRedistributionRule
- java.lang.Object
-
- com.vmware.nsx_policy.model.Tier0RouteRedistributionRule
-
- All Implemented Interfaces:
com.vmware.vapi.bindings.StaticStructure
,com.vmware.vapi.bindings.Structure
,java.io.Serializable
public final class Tier0RouteRedistributionRule extends java.lang.Object implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Single route redistribution rule- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Tier0RouteRedistributionRule.Builder
Builder class forTier0RouteRedistributionRule
.
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description Tier0RouteRedistributionRule()
Default constructor.protected
Tier0RouteRedistributionRule(com.vmware.vapi.data.StructValue __dynamicStructureFields)
-
Method Summary
-
-
-
Field Detail
-
DESTINATIONS_BGP
public static final java.lang.String DESTINATIONS_BGP
- See Also:
- Constant Field Values
-
DESTINATIONS_OSPF
public static final java.lang.String DESTINATIONS_OSPF
- See Also:
- Constant Field Values
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_STATIC
public static final java.lang.String ROUTE_REDISTRIBUTION_TYPES_TIER0_STATIC
- See Also:
- Constant Field Values
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_CONNECTED
public static final java.lang.String ROUTE_REDISTRIBUTION_TYPES_TIER0_CONNECTED
- See Also:
- Constant Field Values
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_EXTERNAL_INTERFACE
public static final java.lang.String ROUTE_REDISTRIBUTION_TYPES_TIER0_EXTERNAL_INTERFACE
- See Also:
- Constant Field Values
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_SEGMENT
public static final java.lang.String ROUTE_REDISTRIBUTION_TYPES_TIER0_SEGMENT
- See Also:
- Constant Field Values
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_ROUTER_LINK
public static final java.lang.String ROUTE_REDISTRIBUTION_TYPES_TIER0_ROUTER_LINK
- See Also:
- Constant Field Values
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_SERVICE_INTERFACE
public static final java.lang.String ROUTE_REDISTRIBUTION_TYPES_TIER0_SERVICE_INTERFACE
- See Also:
- Constant Field Values
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_LOOPBACK_INTERFACE
public static final java.lang.String ROUTE_REDISTRIBUTION_TYPES_TIER0_LOOPBACK_INTERFACE
- See Also:
- Constant Field Values
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_DNS_FORWARDER_IP
public static final java.lang.String ROUTE_REDISTRIBUTION_TYPES_TIER0_DNS_FORWARDER_IP
- See Also:
- Constant Field Values
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_IPSEC_LOCAL_IP
public static final java.lang.String ROUTE_REDISTRIBUTION_TYPES_TIER0_IPSEC_LOCAL_IP
- See Also:
- Constant Field Values
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_NAT
public static final java.lang.String ROUTE_REDISTRIBUTION_TYPES_TIER0_NAT
- See Also:
- Constant Field Values
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_EVPN_TEP_IP
public static final java.lang.String ROUTE_REDISTRIBUTION_TYPES_TIER0_EVPN_TEP_IP
- See Also:
- Constant Field Values
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_NAT
public static final java.lang.String ROUTE_REDISTRIBUTION_TYPES_TIER1_NAT
- See Also:
- Constant Field Values
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_STATIC
public static final java.lang.String ROUTE_REDISTRIBUTION_TYPES_TIER1_STATIC
- See Also:
- Constant Field Values
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_LB_VIP
public static final java.lang.String ROUTE_REDISTRIBUTION_TYPES_TIER1_LB_VIP
- See Also:
- Constant Field Values
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_LB_SNAT
public static final java.lang.String ROUTE_REDISTRIBUTION_TYPES_TIER1_LB_SNAT
- See Also:
- Constant Field Values
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_DNS_FORWARDER_IP
public static final java.lang.String ROUTE_REDISTRIBUTION_TYPES_TIER1_DNS_FORWARDER_IP
- See Also:
- Constant Field Values
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_CONNECTED
public static final java.lang.String ROUTE_REDISTRIBUTION_TYPES_TIER1_CONNECTED
- See Also:
- Constant Field Values
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_SERVICE_INTERFACE
public static final java.lang.String ROUTE_REDISTRIBUTION_TYPES_TIER1_SERVICE_INTERFACE
- See Also:
- Constant Field Values
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_SEGMENT
public static final java.lang.String ROUTE_REDISTRIBUTION_TYPES_TIER1_SEGMENT
- See Also:
- Constant Field Values
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_IPSEC_LOCAL_ENDPOINT
public static final java.lang.String ROUTE_REDISTRIBUTION_TYPES_TIER1_IPSEC_LOCAL_ENDPOINT
- See Also:
- Constant Field Values
-
ROUTE_REDISTRIBUTION_TYPES_INTER_VRF_STATIC
public static final java.lang.String ROUTE_REDISTRIBUTION_TYPES_INTER_VRF_STATIC
- See Also:
- Constant Field Values
-
__dynamicStructureFields
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
-
-
Method Detail
-
getDestinations
public java.util.List<java.lang.String> getDestinations()
Possible values are: Each rule can have more than one destinations. If destinations not specified for a given rule, default destionation will be BGP- Returns:
- The current value of the property.
-
setDestinations
public void 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.
-
getName
public java.lang.String getName()
Rule name- Returns:
- The current value of the property.
-
setName
public void setName(java.lang.String name)
Rule name- Parameters:
name
- New value for the property.
-
getRouteMapPath
public java.lang.String getRouteMapPath()
Route map to be associated with the redistribution rule- Returns:
- The current value of the property.
-
setRouteMapPath
public void setRouteMapPath(java.lang.String routeMapPath)
Route map to be associated with the redistribution rule- Parameters:
routeMapPath
- New value for the property.
-
getRouteRedistributionTypes
public java.util.List<java.lang.String> getRouteRedistributionTypes()
Possible values are:-
ROUTE_REDISTRIBUTION_TYPES_TIER0_STATIC
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_CONNECTED
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_EXTERNAL_INTERFACE
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_SEGMENT
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_ROUTER_LINK
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_SERVICE_INTERFACE
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_LOOPBACK_INTERFACE
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_DNS_FORWARDER_IP
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_IPSEC_LOCAL_IP
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_NAT
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_EVPN_TEP_IP
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_NAT
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_STATIC
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_LB_VIP
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_LB_SNAT
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_DNS_FORWARDER_IP
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_CONNECTED
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_SERVICE_INTERFACE
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_SEGMENT
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_IPSEC_LOCAL_ENDPOINT
-
ROUTE_REDISTRIBUTION_TYPES_INTER_VRF_STATIC
- Returns:
- The current value of the property.
-
-
setRouteRedistributionTypes
public void setRouteRedistributionTypes(java.util.List<java.lang.String> routeRedistributionTypes)
Possible values are:-
ROUTE_REDISTRIBUTION_TYPES_TIER0_STATIC
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_CONNECTED
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_EXTERNAL_INTERFACE
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_SEGMENT
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_ROUTER_LINK
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_SERVICE_INTERFACE
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_LOOPBACK_INTERFACE
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_DNS_FORWARDER_IP
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_IPSEC_LOCAL_IP
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_NAT
-
ROUTE_REDISTRIBUTION_TYPES_TIER0_EVPN_TEP_IP
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_NAT
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_STATIC
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_LB_VIP
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_LB_SNAT
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_DNS_FORWARDER_IP
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_CONNECTED
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_SERVICE_INTERFACE
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_SEGMENT
-
ROUTE_REDISTRIBUTION_TYPES_TIER1_IPSEC_LOCAL_ENDPOINT
-
ROUTE_REDISTRIBUTION_TYPES_INTER_VRF_STATIC
- Parameters:
routeRedistributionTypes
- New value for the property.
-
-
_getType
public com.vmware.vapi.bindings.type.StructType _getType()
- Specified by:
_getType
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDataValue
public com.vmware.vapi.data.StructValue _getDataValue()
- Specified by:
_getDataValue
in interfacecom.vmware.vapi.bindings.Structure
-
_updateDataValue
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
-
_validate
public void _validate()
- Specified by:
_validate
in interfacecom.vmware.vapi.bindings.StaticStructure
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfacecom.vmware.vapi.bindings.StaticStructure
- Overrides:
toString
in classjava.lang.Object
-
_hasTypeNameOf
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
- Specified by:
_hasTypeNameOf
in interfacecom.vmware.vapi.bindings.Structure
-
_convertTo
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
- Specified by:
_convertTo
in interfacecom.vmware.vapi.bindings.Structure
-
_setDynamicField
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
- Specified by:
_setDynamicField
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicField
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
- Specified by:
_getDynamicField
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicFieldNames
public java.util.Set<java.lang.String> _getDynamicFieldNames()
- Specified by:
_getDynamicFieldNames
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getClassType
public static com.vmware.vapi.bindings.type.StructType _getClassType()
WARNING: Internal method, subject to change in future versions.- Returns:
StructType
instance representing the static bindings type for thisStructure
.
-
_getCanonicalName
public java.lang.String _getCanonicalName()
- Specified by:
_getCanonicalName
in interfacecom.vmware.vapi.bindings.Structure
-
_getCanonicalTypeName
public static java.lang.String _getCanonicalTypeName()
Returns the canonical type name. See_getCanonicalName()
.- Returns:
- canonical type name
-
_newInstance
public static Tier0RouteRedistributionRule _newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value.
WARNING: The returned object is not fully initialized.- Parameters:
structValue
- the source of the data contained in the binding object. Could contain more data than fields of this class can describe i.e. newer version of the binding object. Could be null.- Returns:
- the static bindings
StructType
-
_newInstance2
public static Tier0RouteRedistributionRule _newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism.
-
-