Package com.vmware.nsx_policy.model
Class ConsolidatedRealizedStatus
- java.lang.Object
-
- com.vmware.nsx_policy.model.ConsolidatedRealizedStatus
-
- All Implemented Interfaces:
com.vmware.vapi.bindings.StaticStructure,com.vmware.vapi.bindings.Structure,java.io.Serializable
public final class ConsolidatedRealizedStatus extends java.lang.Object implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructureConsolidated Realized Status of an intent object across enforcement points.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConsolidatedRealizedStatus.BuilderBuilder class forConsolidatedRealizedStatus.
-
Field Summary
Fields Modifier and Type Field Description protected com.vmware.vapi.data.StructValue__dynamicStructureFieldsstatic java.lang.StringPUBLISH_STATUS_ERRORstatic java.lang.StringPUBLISH_STATUS_REALIZEDstatic java.lang.StringPUBLISH_STATUS_UNAVAILABLEstatic java.lang.StringPUBLISH_STATUS_UNREALIZED
-
Constructor Summary
Constructors Modifier Constructor Description ConsolidatedRealizedStatus()Default constructor.protectedConsolidatedRealizedStatus(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 ConsolidatedRealizedStatus_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 ConsolidatedRealizedStatus_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()booleanequals(java.lang.Object obj)ConsolidatedStatusgetConsolidatedStatus()java.util.List<ConsolidatedStatusPerEnforcementPoint>getConsolidatedStatusPerEnforcementPoint()List of Consolidated Realized Status per enforcement point.java.lang.StringgetIntentPath()Intent path of object, forward slashes must be escaped using %2F.java.lang.StringgetIntentVersion()Represent highest intent version across all realized objects 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.StringgetPublishStatus()Possible values are:PUBLISH_STATUS_UNAVAILABLEPUBLISH_STATUS_UNREALIZEDPUBLISH_STATUS_REALIZEDPUBLISH_STATUS_ERRORAggregated Realization state of this objectjava.lang.LonggetPublishTime()This is the time when our system detects that data has been pushed to the transport nodes.java.lang.StringgetSiteUuid()Site UUID supplied for realized site.java.lang.LonggetTimeTakenForRealization()This is an approximate time taken for the realization of the intent to the data path.inthashCode()voidsetConsolidatedStatus(ConsolidatedStatus consolidatedStatus)voidsetConsolidatedStatusPerEnforcementPoint(java.util.List<ConsolidatedStatusPerEnforcementPoint> consolidatedStatusPerEnforcementPoint)List of Consolidated Realized Status per enforcement point.voidsetIntentPath(java.lang.String intentPath)Intent path of object, forward slashes must be escaped using %2F.voidsetIntentVersion(java.lang.String intentVersion)Represent highest intent version across all realized objects This property may be present in responses from the server, but if it is present in a request to server it will be ignored.voidsetPublishStatus(java.lang.String publishStatus)Possible values are:PUBLISH_STATUS_UNAVAILABLEPUBLISH_STATUS_UNREALIZEDPUBLISH_STATUS_REALIZEDPUBLISH_STATUS_ERRORAggregated Realization state of this objectvoidsetPublishTime(java.lang.Long publishTime)This is the time when our system detects that data has been pushed to the transport nodes.voidsetSiteUuid(java.lang.String siteUuid)Site UUID supplied for realized site.voidsetTimeTakenForRealization(java.lang.Long timeTakenForRealization)This is an approximate time taken for the realization of the intent to the data path.java.lang.StringtoString()
-
-
-
Field Detail
-
PUBLISH_STATUS_UNAVAILABLE
public static final java.lang.String PUBLISH_STATUS_UNAVAILABLE
- See Also:
- Constant Field Values
-
PUBLISH_STATUS_UNREALIZED
public static final java.lang.String PUBLISH_STATUS_UNREALIZED
- See Also:
- Constant Field Values
-
PUBLISH_STATUS_REALIZED
public static final java.lang.String PUBLISH_STATUS_REALIZED
- See Also:
- Constant Field Values
-
PUBLISH_STATUS_ERROR
public static final java.lang.String PUBLISH_STATUS_ERROR
- See Also:
- Constant Field Values
-
__dynamicStructureFields
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
-
-
Method Detail
-
getIntentPath
public java.lang.String getIntentPath()
Intent path of object, forward slashes must be escaped using %2F. 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.
-
setIntentPath
public void setIntentPath(java.lang.String intentPath)
Intent path of object, forward slashes must be escaped using %2F. 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:
intentPath- New value for the property.
-
getConsolidatedStatus
public ConsolidatedStatus getConsolidatedStatus()
- Returns:
- The current value of the property.
-
setConsolidatedStatus
public void setConsolidatedStatus(ConsolidatedStatus consolidatedStatus)
- Parameters:
consolidatedStatus- New value for the property.
-
getConsolidatedStatusPerEnforcementPoint
public java.util.List<ConsolidatedStatusPerEnforcementPoint> getConsolidatedStatusPerEnforcementPoint()
List of Consolidated Realized Status per enforcement point. 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.
-
setConsolidatedStatusPerEnforcementPoint
public void setConsolidatedStatusPerEnforcementPoint(java.util.List<ConsolidatedStatusPerEnforcementPoint> consolidatedStatusPerEnforcementPoint)
List of Consolidated Realized Status per enforcement point. 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:
consolidatedStatusPerEnforcementPoint- New value for the property.
-
getIntentVersion
public java.lang.String getIntentVersion()
Represent highest intent version across all realized objects 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.
-
setIntentVersion
public void setIntentVersion(java.lang.String intentVersion)
Represent highest intent version across all realized objects 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:
intentVersion- New value for the property.
-
getPublishStatus
public java.lang.String getPublishStatus()
Possible values are: Aggregated Realization state of this object- Returns:
- The current value of the property.
-
setPublishStatus
public void setPublishStatus(java.lang.String publishStatus)
Possible values are: Aggregated Realization state of this object- Parameters:
publishStatus- New value for the property.
-
getPublishTime
public java.lang.Long getPublishTime()
This is the time when our system detects that data has been pushed to the transport nodes. This is based on a poll mechanism and hence this is not the accurate time when the intent was published at the data path. The value of -1 indicates that either the publishing is still in progress or the runtime status is UNKNOWN and hence not available. The Runtime status can be UNKNOWN if one or more hosts are down and the rules could not be sent to those hosts. When the host comes up, the runtime status will change to SUCCESS but the publish_time will show the value of the last realization time. Any new configuration change after this will start reflecting the proper value for publish_time 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.
-
setPublishTime
public void setPublishTime(java.lang.Long publishTime)
This is the time when our system detects that data has been pushed to the transport nodes. This is based on a poll mechanism and hence this is not the accurate time when the intent was published at the data path. The value of -1 indicates that either the publishing is still in progress or the runtime status is UNKNOWN and hence not available. The Runtime status can be UNKNOWN if one or more hosts are down and the rules could not be sent to those hosts. When the host comes up, the runtime status will change to SUCCESS but the publish_time will show the value of the last realization time. Any new configuration change after this will start reflecting the proper value for publish_time 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:
publishTime- New value for the property.
-
getSiteUuid
public java.lang.String getSiteUuid()
Site UUID supplied for realized site.- Returns:
- The current value of the property.
-
setSiteUuid
public void setSiteUuid(java.lang.String siteUuid)
Site UUID supplied for realized site.- Parameters:
siteUuid- New value for the property.
-
getTimeTakenForRealization
public java.lang.Long getTimeTakenForRealization()
This is an approximate time taken for the realization of the intent to the data path. The actual time taken could be lesser than what is reported here. The value of -1 indicates that either the publishing is still in progress or the runtime status is UNKNOWN and hence not available. The Runtime status can be UNKNOWN if one or more hosts are down and the rules could not be sent to those hosts. When the host comes up, the runtime status will change to SUCCESS but the time taken for realization will show the value of the last realization time. Any new configuration change after this will start reflecting the proper value for time_taken_for_realization. format: int64- Returns:
- The current value of the property.
-
setTimeTakenForRealization
public void setTimeTakenForRealization(java.lang.Long timeTakenForRealization)
This is an approximate time taken for the realization of the intent to the data path. The actual time taken could be lesser than what is reported here. The value of -1 indicates that either the publishing is still in progress or the runtime status is UNKNOWN and hence not available. The Runtime status can be UNKNOWN if one or more hosts are down and the rules could not be sent to those hosts. When the host comes up, the runtime status will change to SUCCESS but the time taken for realization will show the value of the last realization time. Any new configuration change after this will start reflecting the proper value for time_taken_for_realization. format: int64- Parameters:
timeTakenForRealization- New value for the property.
-
_getType
public com.vmware.vapi.bindings.type.StructType _getType()
- Specified by:
_getTypein interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDataValue
public com.vmware.vapi.data.StructValue _getDataValue()
- Specified by:
_getDataValuein interfacecom.vmware.vapi.bindings.Structure
-
_updateDataValue
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
-
_validate
public void _validate()
- Specified by:
_validatein interfacecom.vmware.vapi.bindings.StaticStructure
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toStringin interfacecom.vmware.vapi.bindings.StaticStructure- Overrides:
toStringin classjava.lang.Object
-
_hasTypeNameOf
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
- Specified by:
_hasTypeNameOfin interfacecom.vmware.vapi.bindings.Structure
-
_convertTo
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
- Specified by:
_convertToin interfacecom.vmware.vapi.bindings.Structure
-
_setDynamicField
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)- Specified by:
_setDynamicFieldin interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicField
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
- Specified by:
_getDynamicFieldin interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicFieldNames
public java.util.Set<java.lang.String> _getDynamicFieldNames()
- Specified by:
_getDynamicFieldNamesin 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:
StructTypeinstance representing the static bindings type for thisStructure.
-
_getCanonicalName
public java.lang.String _getCanonicalName()
- Specified by:
_getCanonicalNamein 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 ConsolidatedRealizedStatus _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 ConsolidatedRealizedStatus _newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism.
-
-