public final class ApplianceLatencyDataItem
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Modifier and Type | Class and Description |
---|---|
static class |
ApplianceLatencyDataItem.Builder
Builder class for
ApplianceLatencyDataItem . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
STATUS_DOWN |
static java.lang.String |
STATUS_UP |
Modifier | Constructor and Description |
---|---|
|
ApplianceLatencyDataItem()
Default constructor.
|
protected |
ApplianceLatencyDataItem(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 ApplianceLatencyDataItem |
_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 ApplianceLatencyDataItem |
_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 |
getDestinationNodeId()
Display the appliance node id.
|
java.lang.String |
getDestinationNodeIp()
Display the appliance node ip.
|
java.lang.String |
getDestinationNodeName()
Display the appliance node name.
|
java.lang.String |
getPacketLossPercent()
Display the percentage of lost packet.
|
java.lang.Long |
getPacketReceived()
Display the received packets.
|
java.lang.Long |
getPacketTransmitted()
Display the transmitted packets in Ping format: int64
|
java.lang.Double |
getRttAvg()
Display the average Round Trip Time in milliseconds.
|
java.lang.Double |
getRttMax()
Display the max Round Trip Time in milliseconds.
|
java.lang.Double |
getRttMdev()
Display the mean Round Trip Time in milliseconds.
|
java.lang.Double |
getRttMin()
Display the min Round Trip Time in milliseconds.
|
java.lang.String |
getSourceNodeIp()
Display the appliance node ip.
|
java.lang.String |
getStatus()
Possible values are:
STATUS_UP STATUS_DOWN Display
the connection status between source node and destination node. |
java.lang.Long |
getTotalTime()
Display the total time of sending and receiving packets in milliseconds.
|
int |
hashCode() |
void |
setDestinationNodeId(java.lang.String destinationNodeId)
Display the appliance node id.
|
void |
setDestinationNodeIp(java.lang.String destinationNodeIp)
Display the appliance node ip.
|
void |
setDestinationNodeName(java.lang.String destinationNodeName)
Display the appliance node name.
|
void |
setPacketLossPercent(java.lang.String packetLossPercent)
Display the percentage of lost packet.
|
void |
setPacketReceived(java.lang.Long packetReceived)
Display the received packets.
|
void |
setPacketTransmitted(java.lang.Long packetTransmitted)
Display the transmitted packets in Ping format: int64
|
void |
setRttAvg(java.lang.Double rttAvg)
Display the average Round Trip Time in milliseconds.
|
void |
setRttMax(java.lang.Double rttMax)
Display the max Round Trip Time in milliseconds.
|
void |
setRttMdev(java.lang.Double rttMdev)
Display the mean Round Trip Time in milliseconds.
|
void |
setRttMin(java.lang.Double rttMin)
Display the min Round Trip Time in milliseconds.
|
void |
setSourceNodeIp(java.lang.String sourceNodeIp)
Display the appliance node ip.
|
void |
setStatus(java.lang.String status)
Possible values are:
STATUS_UP STATUS_DOWN Display
the connection status between source node and destination node. |
void |
setTotalTime(java.lang.Long totalTime)
Display the total time of sending and receiving packets in milliseconds.
|
java.lang.String |
toString() |
public static final java.lang.String STATUS_UP
public static final java.lang.String STATUS_DOWN
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public ApplianceLatencyDataItem()
protected ApplianceLatencyDataItem(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.String getDestinationNodeId()
public void setDestinationNodeId(java.lang.String destinationNodeId)
destinationNodeId
- New value for the property.public java.lang.String getDestinationNodeIp()
public void setDestinationNodeIp(java.lang.String destinationNodeIp)
destinationNodeIp
- New value for the property.public java.lang.String getDestinationNodeName()
public void setDestinationNodeName(java.lang.String destinationNodeName)
destinationNodeName
- New value for the property.public java.lang.String getPacketLossPercent()
public void setPacketLossPercent(java.lang.String packetLossPercent)
packetLossPercent
- New value for the property.public java.lang.Long getPacketReceived()
public void setPacketReceived(java.lang.Long packetReceived)
packetReceived
- New value for the property.public java.lang.Long getPacketTransmitted()
public void setPacketTransmitted(java.lang.Long packetTransmitted)
packetTransmitted
- New value for the property.public java.lang.Double getRttAvg()
public void setRttAvg(java.lang.Double rttAvg)
rttAvg
- New value for the property.public java.lang.Double getRttMax()
public void setRttMax(java.lang.Double rttMax)
rttMax
- New value for the property.public java.lang.Double getRttMdev()
public void setRttMdev(java.lang.Double rttMdev)
rttMdev
- New value for the property.public java.lang.Double getRttMin()
public void setRttMin(java.lang.Double rttMin)
rttMin
- New value for the property.public java.lang.String getSourceNodeIp()
public void setSourceNodeIp(java.lang.String sourceNodeIp)
sourceNodeIp
- New value for the property.public java.lang.String getStatus()
public void setStatus(java.lang.String status)
status
- New value for the property.public java.lang.Long getTotalTime()
public void setTotalTime(java.lang.Long totalTime)
totalTime
- New value for the property.public com.vmware.vapi.bindings.type.StructType _getType()
_getType
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue
in interface com.vmware.vapi.bindings.Structure
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate
in interface com.vmware.vapi.bindings.StaticStructure
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in interface com.vmware.vapi.bindings.StaticStructure
toString
in class java.lang.Object
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf
in interface com.vmware.vapi.bindings.Structure
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo
in interface com.vmware.vapi.bindings.Structure
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames
in interface com.vmware.vapi.bindings.StaticStructure
public 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.Structure
public static java.lang.String _getCanonicalTypeName()
_getCanonicalName()
.public static ApplianceLatencyDataItem _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.StructType
public static ApplianceLatencyDataItem _newInstance2(com.vmware.vapi.data.StructValue structValue)