Package com.vmware.nsx_policy.model
Class PolicyBgpNeighborStatus
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyBgpNeighborStatus
-
- All Implemented Interfaces:
com.vmware.vapi.bindings.StaticStructure
,com.vmware.vapi.bindings.Structure
,java.io.Serializable
public final class PolicyBgpNeighborStatus extends java.lang.Object implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PolicyBgpNeighborStatus.Builder
Builder class forPolicyBgpNeighborStatus
.
-
Field Summary
Fields Modifier and Type Field Description protected com.vmware.vapi.data.StructValue
__dynamicStructureFields
static java.lang.String
CONNECTION_STATE_ACTIVE
static java.lang.String
CONNECTION_STATE_CONNECT
static java.lang.String
CONNECTION_STATE_ESTABLISHED
static java.lang.String
CONNECTION_STATE_IDLE
static java.lang.String
CONNECTION_STATE_INVALID
static java.lang.String
CONNECTION_STATE_OPEN_CONFIRM
static java.lang.String
CONNECTION_STATE_OPEN_SENT
static java.lang.String
CONNECTION_STATE_UNKNOWN
static java.lang.String
TYPE_INTER_SR
static java.lang.String
TYPE_USER
-
Constructor Summary
Constructors Modifier Constructor Description PolicyBgpNeighborStatus()
Default constructor.protected
PolicyBgpNeighborStatus(com.vmware.vapi.data.StructValue __dynamicStructureFields)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends com.vmware.vapi.bindings.Structure>
T_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 PolicyBgpNeighborStatus
_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 PolicyBgpNeighborStatus
_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.util.List<BgpAddressFamily>
getAddressFamilies()
Address families of BGP neighbor This property may be present in responses from the server, but if it is present in a request to server it will be ignored.java.util.List<java.lang.String>
getAnnouncedCapabilities()
BGP capabilities sent to BGP neighbor.java.lang.Long
getConnectionDropCount()
Count of connection drop format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.java.lang.String
getConnectionState()
Possible values are:CONNECTION_STATE_INVALID
CONNECTION_STATE_IDLE
CONNECTION_STATE_CONNECT
CONNECTION_STATE_ACTIVE
CONNECTION_STATE_OPEN_SENT
CONNECTION_STATE_OPEN_CONFIRM
CONNECTION_STATE_ESTABLISHED
CONNECTION_STATE_UNKNOWN
Current state of the BGP session.java.lang.String
getEdgePath()
Transport node policy pathjava.lang.Long
getEstablishedConnectionCount()
Count of connections established format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.java.lang.String
getGracefulRestartMode()
Current state of graceful restart of BGP neighbor.java.lang.Long
getHoldTime()
If a HELLO packet is not seen from BGP Peer withing hold_time then BGP neighbor will be marked as down.java.lang.Long
getKeepAliveInterval()
Time in ms to wait for HELLO packet from BGP peer format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.java.lang.Long
getLastUpdateTimestamp()
Timestamp when the data was last updated, unset if data source has never updated the data.java.lang.Long
getLocalPort()
TCP port number of Local BGP connection format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.java.lang.Long
getMessagesReceived()
Count of messages received from the neighbor format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.java.lang.Long
getMessagesSent()
Count of messages sent to the neighbor format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.java.util.List<java.lang.String>
getNegotiatedCapability()
BGP capabilities negotiated with BGP neighbor.java.lang.String
getNeighborAddress()
The IP of the BGP neighbor format: ip This property may be present in responses from the server, but if it is present in a request to server it will be ignored.java.lang.String
getNeighborEdgeNode()
Inter-Sr neighbor edge node policy path This property may be present in responses from the server, but if it is present in a request to server it will be ignored.java.lang.String
getNeighborRouterId()
Router ID of the BGP neighbor.java.lang.String
getRemoteAsNumber()
AS number of the BGP neighbor This property may be present in responses from the server, but if it is present in a request to server it will be ignored.java.lang.Long
getRemotePort()
TCP port number of remote BGP Connection format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.ResourceReference
getRemoteSite()
java.lang.String
getSourceAddress()
The Ip address of logical port format: ip This property may be present in responses from the server, but if it is present in a request to server it will be ignored.java.lang.String
getTier0Path()
Policy path to Tier0 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.java.lang.Long
getTimeSinceEstablished()
Time(in seconds) since connection was established.java.lang.Long
getTotalInPrefixCount()
Sum of in prefixes counts across all address families.java.lang.Long
getTotalOutPrefixCount()
Sum of out prefixes counts across all address families.java.lang.String
getType()
Possible values are:TYPE_INTER_SR
TYPE_USER
BGP neighbor type This property may be present in responses from the server, but if it is present in a request to server it will be ignored.int
hashCode()
void
setAddressFamilies(java.util.List<BgpAddressFamily> addressFamilies)
Address families of BGP neighbor This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setAnnouncedCapabilities(java.util.List<java.lang.String> announcedCapabilities)
BGP capabilities sent to BGP neighbor.void
setConnectionDropCount(java.lang.Long connectionDropCount)
Count of connection drop format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setConnectionState(java.lang.String connectionState)
Possible values are:CONNECTION_STATE_INVALID
CONNECTION_STATE_IDLE
CONNECTION_STATE_CONNECT
CONNECTION_STATE_ACTIVE
CONNECTION_STATE_OPEN_SENT
CONNECTION_STATE_OPEN_CONFIRM
CONNECTION_STATE_ESTABLISHED
CONNECTION_STATE_UNKNOWN
Current state of the BGP session.void
setEdgePath(java.lang.String edgePath)
Transport node policy pathvoid
setEstablishedConnectionCount(java.lang.Long establishedConnectionCount)
Count of connections established format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setGracefulRestartMode(java.lang.String gracefulRestartMode)
Current state of graceful restart of BGP neighbor.void
setHoldTime(java.lang.Long holdTime)
If a HELLO packet is not seen from BGP Peer withing hold_time then BGP neighbor will be marked as down.void
setKeepAliveInterval(java.lang.Long keepAliveInterval)
Time in ms to wait for HELLO packet from BGP peer format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated, unset if data source has never updated the data.void
setLocalPort(java.lang.Long localPort)
TCP port number of Local BGP connection format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setMessagesReceived(java.lang.Long messagesReceived)
Count of messages received from the neighbor format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setMessagesSent(java.lang.Long messagesSent)
Count of messages sent to the neighbor format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setNegotiatedCapability(java.util.List<java.lang.String> negotiatedCapability)
BGP capabilities negotiated with BGP neighbor.void
setNeighborAddress(java.lang.String neighborAddress)
The IP of the BGP neighbor format: ip This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setNeighborEdgeNode(java.lang.String neighborEdgeNode)
Inter-Sr neighbor edge node policy path This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setNeighborRouterId(java.lang.String neighborRouterId)
Router ID of the BGP neighbor.void
setRemoteAsNumber(java.lang.String remoteAsNumber)
AS number of the BGP neighbor This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setRemotePort(java.lang.Long remotePort)
TCP port number of remote BGP Connection format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setRemoteSite(ResourceReference remoteSite)
void
setSourceAddress(java.lang.String sourceAddress)
The Ip address of logical port format: ip This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setTier0Path(java.lang.String tier0Path)
Policy path to Tier0 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setTimeSinceEstablished(java.lang.Long timeSinceEstablished)
Time(in seconds) since connection was established.void
setTotalInPrefixCount(java.lang.Long totalInPrefixCount)
Sum of in prefixes counts across all address families.void
setTotalOutPrefixCount(java.lang.Long totalOutPrefixCount)
Sum of out prefixes counts across all address families.void
setType(java.lang.String type)
Possible values are:TYPE_INTER_SR
TYPE_USER
BGP neighbor type This property may be present in responses from the server, but if it is present in a request to server it will be ignored.java.lang.String
toString()
-
-
-
Field Detail
-
CONNECTION_STATE_INVALID
public static final java.lang.String CONNECTION_STATE_INVALID
- See Also:
- Constant Field Values
-
CONNECTION_STATE_IDLE
public static final java.lang.String CONNECTION_STATE_IDLE
- See Also:
- Constant Field Values
-
CONNECTION_STATE_CONNECT
public static final java.lang.String CONNECTION_STATE_CONNECT
- See Also:
- Constant Field Values
-
CONNECTION_STATE_ACTIVE
public static final java.lang.String CONNECTION_STATE_ACTIVE
- See Also:
- Constant Field Values
-
CONNECTION_STATE_OPEN_SENT
public static final java.lang.String CONNECTION_STATE_OPEN_SENT
- See Also:
- Constant Field Values
-
CONNECTION_STATE_OPEN_CONFIRM
public static final java.lang.String CONNECTION_STATE_OPEN_CONFIRM
- See Also:
- Constant Field Values
-
CONNECTION_STATE_ESTABLISHED
public static final java.lang.String CONNECTION_STATE_ESTABLISHED
- See Also:
- Constant Field Values
-
CONNECTION_STATE_UNKNOWN
public static final java.lang.String CONNECTION_STATE_UNKNOWN
- See Also:
- Constant Field Values
-
TYPE_INTER_SR
public static final java.lang.String TYPE_INTER_SR
- See Also:
- Constant Field Values
-
TYPE_USER
public static final java.lang.String TYPE_USER
- See Also:
- Constant Field Values
-
__dynamicStructureFields
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
-
-
Method Detail
-
getAddressFamilies
public java.util.List<BgpAddressFamily> getAddressFamilies()
Address families of BGP neighbor This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setAddressFamilies
public void setAddressFamilies(java.util.List<BgpAddressFamily> addressFamilies)
Address families of BGP neighbor This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
addressFamilies
- New value for the property.
-
getAnnouncedCapabilities
public java.util.List<java.lang.String> getAnnouncedCapabilities()
BGP capabilities sent to BGP neighbor. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setAnnouncedCapabilities
public void setAnnouncedCapabilities(java.util.List<java.lang.String> announcedCapabilities)
BGP capabilities sent to BGP neighbor. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
announcedCapabilities
- New value for the property.
-
getConnectionDropCount
public java.lang.Long getConnectionDropCount()
Count of connection drop format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setConnectionDropCount
public void setConnectionDropCount(java.lang.Long connectionDropCount)
Count of connection drop format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
connectionDropCount
- New value for the property.
-
getConnectionState
public java.lang.String getConnectionState()
Possible values are: Current state of the BGP session. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setConnectionState
public void setConnectionState(java.lang.String connectionState)
Possible values are: Current state of the BGP session. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
connectionState
- New value for the property.
-
getEdgePath
public java.lang.String getEdgePath()
Transport node policy path- Returns:
- The current value of the property.
-
setEdgePath
public void setEdgePath(java.lang.String edgePath)
Transport node policy path- Parameters:
edgePath
- New value for the property.
-
getEstablishedConnectionCount
public java.lang.Long getEstablishedConnectionCount()
Count of connections established format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setEstablishedConnectionCount
public void setEstablishedConnectionCount(java.lang.Long establishedConnectionCount)
Count of connections established format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
establishedConnectionCount
- New value for the property.
-
getGracefulRestartMode
public java.lang.String getGracefulRestartMode()
Current state of graceful restart of BGP neighbor. Possible values are - 1. GR_AND_HELPER - Graceful restart with Helper 2. HELPER_ONLY - Helper only 3. DISABLE - Disabled This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setGracefulRestartMode
public void setGracefulRestartMode(java.lang.String gracefulRestartMode)
Current state of graceful restart of BGP neighbor. Possible values are - 1. GR_AND_HELPER - Graceful restart with Helper 2. HELPER_ONLY - Helper only 3. DISABLE - Disabled This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
gracefulRestartMode
- New value for the property.
-
getHoldTime
public java.lang.Long getHoldTime()
If a HELLO packet is not seen from BGP Peer withing hold_time then BGP neighbor will be marked as down. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setHoldTime
public void setHoldTime(java.lang.Long holdTime)
If a HELLO packet is not seen from BGP Peer withing hold_time then BGP neighbor will be marked as down. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
holdTime
- New value for the property.
-
getKeepAliveInterval
public java.lang.Long getKeepAliveInterval()
Time in ms to wait for HELLO packet from BGP peer format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setKeepAliveInterval
public void setKeepAliveInterval(java.lang.Long keepAliveInterval)
Time in ms to wait for HELLO packet from BGP peer format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
keepAliveInterval
- New value for the property.
-
getLastUpdateTimestamp
public java.lang.Long getLastUpdateTimestamp()
Timestamp when the data was last updated, unset if data source has never updated the data. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setLastUpdateTimestamp
public void setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated, unset if data source has never updated the data. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
lastUpdateTimestamp
- New value for the property.
-
getLocalPort
public java.lang.Long getLocalPort()
TCP port number of Local BGP connection format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setLocalPort
public void setLocalPort(java.lang.Long localPort)
TCP port number of Local BGP connection format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
localPort
- New value for the property.
-
getMessagesReceived
public java.lang.Long getMessagesReceived()
Count of messages received from the neighbor format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setMessagesReceived
public void setMessagesReceived(java.lang.Long messagesReceived)
Count of messages received from the neighbor format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
messagesReceived
- New value for the property.
-
getMessagesSent
public java.lang.Long getMessagesSent()
Count of messages sent to the neighbor format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setMessagesSent
public void setMessagesSent(java.lang.Long messagesSent)
Count of messages sent to the neighbor format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
messagesSent
- New value for the property.
-
getNegotiatedCapability
public java.util.List<java.lang.String> getNegotiatedCapability()
BGP capabilities negotiated with BGP neighbor. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setNegotiatedCapability
public void setNegotiatedCapability(java.util.List<java.lang.String> negotiatedCapability)
BGP capabilities negotiated with BGP neighbor. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
negotiatedCapability
- New value for the property.
-
getNeighborAddress
public java.lang.String getNeighborAddress()
The IP of the BGP neighbor format: ip This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setNeighborAddress
public void setNeighborAddress(java.lang.String neighborAddress)
The IP of the BGP neighbor format: ip This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
neighborAddress
- New value for the property.
-
getNeighborEdgeNode
public java.lang.String getNeighborEdgeNode()
Inter-Sr neighbor edge node policy path This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setNeighborEdgeNode
public void setNeighborEdgeNode(java.lang.String neighborEdgeNode)
Inter-Sr neighbor edge node policy path This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
neighborEdgeNode
- New value for the property.
-
getNeighborRouterId
public java.lang.String getNeighborRouterId()
Router ID of the BGP neighbor. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setNeighborRouterId
public void setNeighborRouterId(java.lang.String neighborRouterId)
Router ID of the BGP neighbor. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
neighborRouterId
- New value for the property.
-
getRemoteAsNumber
public java.lang.String getRemoteAsNumber()
AS number of the BGP neighbor This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setRemoteAsNumber
public void setRemoteAsNumber(java.lang.String remoteAsNumber)
AS number of the BGP neighbor This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
remoteAsNumber
- New value for the property.
-
getRemotePort
public java.lang.Long getRemotePort()
TCP port number of remote BGP Connection format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setRemotePort
public void setRemotePort(java.lang.Long remotePort)
TCP port number of remote BGP Connection format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
remotePort
- New value for the property.
-
getRemoteSite
public ResourceReference getRemoteSite()
- Returns:
- The current value of the property.
-
setRemoteSite
public void setRemoteSite(ResourceReference remoteSite)
- Parameters:
remoteSite
- New value for the property.
-
getSourceAddress
public java.lang.String getSourceAddress()
The Ip address of logical port format: ip This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setSourceAddress
public void setSourceAddress(java.lang.String sourceAddress)
The Ip address of logical port format: ip This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
sourceAddress
- New value for the property.
-
getTier0Path
public java.lang.String getTier0Path()
Policy path to Tier0 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setTier0Path
public void setTier0Path(java.lang.String tier0Path)
Policy path to Tier0 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
tier0Path
- New value for the property.
-
getTimeSinceEstablished
public java.lang.Long getTimeSinceEstablished()
Time(in seconds) since connection was established. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setTimeSinceEstablished
public void setTimeSinceEstablished(java.lang.Long timeSinceEstablished)
Time(in seconds) since connection was established. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
timeSinceEstablished
- New value for the property.
-
getTotalInPrefixCount
public java.lang.Long getTotalInPrefixCount()
Sum of in prefixes counts across all address families. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setTotalInPrefixCount
public void setTotalInPrefixCount(java.lang.Long totalInPrefixCount)
Sum of in prefixes counts across all address families. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
totalInPrefixCount
- New value for the property.
-
getTotalOutPrefixCount
public java.lang.Long getTotalOutPrefixCount()
Sum of out prefixes counts across all address families. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setTotalOutPrefixCount
public void setTotalOutPrefixCount(java.lang.Long totalOutPrefixCount)
Sum of out prefixes counts across all address families. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
totalOutPrefixCount
- New value for the property.
-
getType
public java.lang.String getType()
Possible values are: BGP neighbor type This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setType
public void setType(java.lang.String type)
Possible values are: BGP neighbor type This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
type
- 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 PolicyBgpNeighborStatus _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 PolicyBgpNeighborStatus _newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism.
-
-