public final class RouteMapEntrySet
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
| Modifier and Type | Class and Description |
|---|---|
static class |
RouteMapEntrySet.Builder
Builder class for
RouteMapEntrySet. |
| Modifier and Type | Field and Description |
|---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
| Modifier | Constructor and Description |
|---|---|
|
RouteMapEntrySet()
Default constructor.
|
protected |
RouteMapEntrySet(com.vmware.vapi.data.StructValue __dynamicStructureFields) |
| Modifier and Type | Method and Description |
|---|---|
<T extends com.vmware.vapi.bindings.Structure> |
_convertTo(java.lang.Class<T> clazz) |
java.lang.String |
_getCanonicalName() |
static java.lang.String |
_getCanonicalTypeName()
Returns the canonical type name.
|
static com.vmware.vapi.bindings.type.StructType |
_getClassType()
WARNING: Internal method, subject to change in future versions.
|
com.vmware.vapi.data.StructValue |
_getDataValue() |
com.vmware.vapi.data.DataValue |
_getDynamicField(java.lang.String fieldName) |
java.util.Set<java.lang.String> |
_getDynamicFieldNames() |
com.vmware.vapi.bindings.type.StructType |
_getType() |
boolean |
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz) |
static RouteMapEntrySet |
_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. |
static RouteMapEntrySet |
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism. |
void |
_setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue) |
protected void |
_updateDataValue(com.vmware.vapi.data.StructValue structValue) |
void |
_validate() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAsPathPrepend()
AS path prepend to influence route selection.
|
java.lang.String |
getCommunity()
Set BGP regular or large community for matching routes.
|
java.lang.Long |
getLocalPreference()
Local preference indicates the degree of preference for one BGP route over other
BGP routes.
|
java.lang.Long |
getMed()
Multi exit descriminator (MED) is a hint to BGP neighbors about the preferred
path into an autonomous system (AS) that has multiple entry points.
|
java.lang.Boolean |
getPreferGlobalV6NextHop()
For incoming and import route_maps on receiving both v6 global and v6 link-local
address for the route, prefer to use the global address as the next hop.
|
java.lang.Long |
getWeight()
Weight is used to select a route when multiple routes are available to the same
network.
|
int |
hashCode() |
void |
setAsPathPrepend(java.lang.String asPathPrepend)
AS path prepend to influence route selection.
|
void |
setCommunity(java.lang.String community)
Set BGP regular or large community for matching routes.
|
void |
setLocalPreference(java.lang.Long localPreference)
Local preference indicates the degree of preference for one BGP route over other
BGP routes.
|
void |
setMed(java.lang.Long med)
Multi exit descriminator (MED) is a hint to BGP neighbors about the preferred
path into an autonomous system (AS) that has multiple entry points.
|
void |
setPreferGlobalV6NextHop(java.lang.Boolean preferGlobalV6NextHop)
For incoming and import route_maps on receiving both v6 global and v6 link-local
address for the route, prefer to use the global address as the next hop.
|
void |
setWeight(java.lang.Long weight)
Weight is used to select a route when multiple routes are available to the same
network.
|
java.lang.String |
toString() |
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public RouteMapEntrySet()
protected RouteMapEntrySet(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.String getAsPathPrepend()
public void setAsPathPrepend(java.lang.String asPathPrepend)
asPathPrepend - New value for the property.public java.lang.String getCommunity()
public void setCommunity(java.lang.String community)
community - New value for the property.public java.lang.Long getLocalPreference()
public void setLocalPreference(java.lang.Long localPreference)
localPreference - New value for the property.public java.lang.Long getMed()
public void setMed(java.lang.Long med)
med - New value for the property.public java.lang.Boolean getPreferGlobalV6NextHop()
public void setPreferGlobalV6NextHop(java.lang.Boolean preferGlobalV6NextHop)
preferGlobalV6NextHop - New value for the property.public java.lang.Long getWeight()
public void setWeight(java.lang.Long weight)
weight - New value for the property.public com.vmware.vapi.bindings.type.StructType _getType()
_getType in interface com.vmware.vapi.bindings.StaticStructurepublic com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue in interface com.vmware.vapi.bindings.Structureprotected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate in interface com.vmware.vapi.bindings.StaticStructurepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in interface com.vmware.vapi.bindings.StaticStructuretoString in class java.lang.Objectpublic boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf in interface com.vmware.vapi.bindings.Structurepublic <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo in interface com.vmware.vapi.bindings.Structurepublic void _setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField in interface com.vmware.vapi.bindings.StaticStructurepublic com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField in interface com.vmware.vapi.bindings.StaticStructurepublic java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames in interface com.vmware.vapi.bindings.StaticStructurepublic static com.vmware.vapi.bindings.type.StructType _getClassType()
StructType instance representing the static bindings
type for this Structure.public java.lang.String _getCanonicalName()
_getCanonicalName in interface com.vmware.vapi.bindings.Structurepublic static java.lang.String _getCanonicalTypeName()
_getCanonicalName().public static RouteMapEntrySet _newInstance(com.vmware.vapi.data.StructValue structValue)
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.StructTypepublic static RouteMapEntrySet _newInstance2(com.vmware.vapi.data.StructValue structValue)