public final class IPSecVpnSessionStatusNsxt
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Modifier and Type | Class and Description |
---|---|
static class |
IPSecVpnSessionStatusNsxt.Builder
Builder class for
IPSecVpnSessionStatusNsxt . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
_TYPE_IDENTIFIER
Identifier denoting this class, when it is used in polymorphic context.
|
static java.lang.String |
RUNTIME_STATUS_DEGRADED |
static java.lang.String |
RUNTIME_STATUS_DOWN |
static java.lang.String |
RUNTIME_STATUS_UP |
Modifier | Constructor and Description |
---|---|
|
IPSecVpnSessionStatusNsxt()
Default constructor.
|
protected |
IPSecVpnSessionStatusNsxt(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 IPSecVpnSessionStatusNsxt |
_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 IPSecVpnSessionStatusNsxt |
_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) |
IPSecVpnTrafficCounters |
getAggregateTrafficCounters() |
PolicyRuntimeAlarm |
getAlarm() |
java.lang.String |
getDisplayName()
Display Name of vpn session.
|
java.lang.String |
getEnforcementPointPath()
Policy Path referencing the enforcement point where the info is fetched.
|
java.lang.Long |
getFailedTunnels()
Number of failed tunnels.
|
IPSecVpnIkeSessionStatus |
getIkeStatus() |
java.lang.Long |
getLastUpdateTimestamp()
Timestamp when the data was last updated.
|
java.lang.Long |
getNegotiatedTunnels()
Number of negotiated tunnels.
|
java.lang.String |
getResourceType()
Possible values are:
IPSecVpnSessionStatusPerEP.RESOURCE_TYPE_IPSECVPNSESSIONSTATUSNSXT
The value of this property is automatically populated to "IPSecVpnSessionStatusNsxT" . |
java.lang.String |
getRuntimeStatus()
Possible values are:
RUNTIME_STATUS_UP
RUNTIME_STATUS_DOWN
RUNTIME_STATUS_DEGRADED
Gives session status consolidated using IKE status and tunnel status. |
java.lang.Long |
getTotalTunnels()
Total number of tunnels.
|
int |
hashCode() |
void |
setAggregateTrafficCounters(IPSecVpnTrafficCounters aggregateTrafficCounters) |
void |
setAlarm(PolicyRuntimeAlarm alarm) |
void |
setDisplayName(java.lang.String displayName)
Display Name of vpn session.
|
void |
setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy Path referencing the enforcement point where the info is fetched.
|
void |
setFailedTunnels(java.lang.Long failedTunnels)
Number of failed tunnels.
|
void |
setIkeStatus(IPSecVpnIkeSessionStatus ikeStatus) |
void |
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated.
|
void |
setNegotiatedTunnels(java.lang.Long negotiatedTunnels)
Number of negotiated tunnels.
|
void |
setRuntimeStatus(java.lang.String runtimeStatus)
Possible values are:
RUNTIME_STATUS_UP
RUNTIME_STATUS_DOWN
RUNTIME_STATUS_DEGRADED
Gives session status consolidated using IKE status and tunnel status. |
void |
setTotalTunnels(java.lang.Long totalTunnels)
Total number of tunnels.
|
java.lang.String |
toString() |
public static final java.lang.String _TYPE_IDENTIFIER
This value should be assigned to the property which is used to discriminate the actual type used in the polymorphic context.
public static final java.lang.String RUNTIME_STATUS_UP
public static final java.lang.String RUNTIME_STATUS_DOWN
public static final java.lang.String RUNTIME_STATUS_DEGRADED
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public IPSecVpnSessionStatusNsxt()
protected IPSecVpnSessionStatusNsxt(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public IPSecVpnTrafficCounters getAggregateTrafficCounters()
public void setAggregateTrafficCounters(IPSecVpnTrafficCounters aggregateTrafficCounters)
aggregateTrafficCounters
- New value for the property.public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public java.lang.Long getFailedTunnels()
public void setFailedTunnels(java.lang.Long failedTunnels)
failedTunnels
- New value for the property.public IPSecVpnIkeSessionStatus getIkeStatus()
public void setIkeStatus(IPSecVpnIkeSessionStatus ikeStatus)
ikeStatus
- New value for the property.public java.lang.Long getLastUpdateTimestamp()
public void setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
lastUpdateTimestamp
- New value for the property.public java.lang.Long getNegotiatedTunnels()
public void setNegotiatedTunnels(java.lang.Long negotiatedTunnels)
negotiatedTunnels
- New value for the property.public java.lang.String getRuntimeStatus()
public void setRuntimeStatus(java.lang.String runtimeStatus)
runtimeStatus
- New value for the property.public java.lang.Long getTotalTunnels()
public void setTotalTunnels(java.lang.Long totalTunnels)
totalTunnels
- New value for the property.public PolicyRuntimeAlarm getAlarm()
public void setAlarm(PolicyRuntimeAlarm alarm)
alarm
- New value for the property.public java.lang.String getEnforcementPointPath()
public void setEnforcementPointPath(java.lang.String enforcementPointPath)
enforcementPointPath
- New value for the property.public java.lang.String getResourceType()
"IPSecVpnSessionStatusNsxT"
.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 IPSecVpnSessionStatusNsxt _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 IPSecVpnSessionStatusNsxt _newInstance2(com.vmware.vapi.data.StructValue structValue)