public final class FederationUpgradeSummary
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
| Modifier and Type | Class and Description |
|---|---|
static class |
FederationUpgradeSummary.Builder
Builder class for
FederationUpgradeSummary. |
| Modifier and Type | Field and Description |
|---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
OVERALL_UPGRADE_STATUS_FAILED |
static java.lang.String |
OVERALL_UPGRADE_STATUS_IN_PROGRESS |
static java.lang.String |
OVERALL_UPGRADE_STATUS_NOT_STARTED |
static java.lang.String |
OVERALL_UPGRADE_STATUS_PAUSED |
static java.lang.String |
OVERALL_UPGRADE_STATUS_SUCCESS |
static java.lang.String |
SITE_TYPE_ACTIVE_GM_SITE |
static java.lang.String |
SITE_TYPE_NON_GM_SITE |
static java.lang.String |
SITE_TYPE_STANDBY_GM_SITE |
| Modifier | Constructor and Description |
|---|---|
|
FederationUpgradeSummary()
Default constructor.
|
protected |
FederationUpgradeSummary(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 FederationUpgradeSummary |
_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 FederationUpgradeSummary |
_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<FederationComponentUpgradeStatus> |
getComponentStatus()
List of component statuses
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 |
getCurrentVersion()
This is NSX version for the site.
|
java.lang.String |
getGpmName()
Name of the global manager if present.
|
java.lang.String |
getId()
Unique identifier of this resource.
|
java.lang.String |
getLastUpgradeTimestamp()
Indicates the time when the site was upgraded.
|
java.lang.String |
getName()
Name of the site.
|
java.lang.String |
getOverallUpgradeStatus()
Possible values are:
OVERALL_UPGRADE_STATUS_SUCCESS
OVERALL_UPGRADE_STATUS_FAILED
OVERALL_UPGRADE_STATUS_IN_PROGRESS
OVERALL_UPGRADE_STATUS_NOT_STARTED
OVERALL_UPGRADE_STATUS_PAUSED
Status of upgrade
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 |
getSiteId()
This is the Site Manager generated UUID for every NSX deployment.
|
java.lang.String |
getSiteIp()
IP address of the site.
|
java.lang.String |
getSiteType()
Possible values are:
SITE_TYPE_ACTIVE_GM_SITE
SITE_TYPE_STANDBY_GM_SITE
SITE_TYPE_NON_GM_SITE
Type of this site. |
java.lang.String |
getTargetVersion()
This is NSX target version for the site, if it is undergoing upgrade.
|
int |
hashCode() |
void |
setComponentStatus(java.util.List<FederationComponentUpgradeStatus> componentStatus)
List of component statuses
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 |
setCurrentVersion(java.lang.String currentVersion)
This is NSX version for the site.
|
void |
setGpmName(java.lang.String gpmName)
Name of the global manager if present.
|
void |
setId(java.lang.String id)
Unique identifier of this resource.
|
void |
setLastUpgradeTimestamp(java.lang.String lastUpgradeTimestamp)
Indicates the time when the site was upgraded.
|
void |
setName(java.lang.String name)
Name of the site.
|
void |
setOverallUpgradeStatus(java.lang.String overallUpgradeStatus)
Possible values are:
OVERALL_UPGRADE_STATUS_SUCCESS
OVERALL_UPGRADE_STATUS_FAILED
OVERALL_UPGRADE_STATUS_IN_PROGRESS
OVERALL_UPGRADE_STATUS_NOT_STARTED
OVERALL_UPGRADE_STATUS_PAUSED
Status of upgrade
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 |
setSiteId(java.lang.String siteId)
This is the Site Manager generated UUID for every NSX deployment.
|
void |
setSiteIp(java.lang.String siteIp)
IP address of the site.
|
void |
setSiteType(java.lang.String siteType)
Possible values are:
SITE_TYPE_ACTIVE_GM_SITE
SITE_TYPE_STANDBY_GM_SITE
SITE_TYPE_NON_GM_SITE
Type of this site. |
void |
setTargetVersion(java.lang.String targetVersion)
This is NSX target version for the site, if it is undergoing upgrade.
|
java.lang.String |
toString() |
public static final java.lang.String OVERALL_UPGRADE_STATUS_SUCCESS
public static final java.lang.String OVERALL_UPGRADE_STATUS_FAILED
public static final java.lang.String OVERALL_UPGRADE_STATUS_IN_PROGRESS
public static final java.lang.String OVERALL_UPGRADE_STATUS_NOT_STARTED
public static final java.lang.String OVERALL_UPGRADE_STATUS_PAUSED
public static final java.lang.String SITE_TYPE_ACTIVE_GM_SITE
public static final java.lang.String SITE_TYPE_STANDBY_GM_SITE
public static final java.lang.String SITE_TYPE_NON_GM_SITE
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public FederationUpgradeSummary()
protected FederationUpgradeSummary(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.util.List<FederationComponentUpgradeStatus> getComponentStatus()
public void setComponentStatus(java.util.List<FederationComponentUpgradeStatus> componentStatus)
componentStatus - New value for the property.public java.lang.String getCurrentVersion()
public void setCurrentVersion(java.lang.String currentVersion)
currentVersion - New value for the property.public java.lang.String getGpmName()
public void setGpmName(java.lang.String gpmName)
gpmName - New value for the property.public java.lang.String getId()
public void setId(java.lang.String id)
id - New value for the property.public java.lang.String getLastUpgradeTimestamp()
public void setLastUpgradeTimestamp(java.lang.String lastUpgradeTimestamp)
lastUpgradeTimestamp - New value for the property.public java.lang.String getName()
public void setName(java.lang.String name)
name - New value for the property.public java.lang.String getOverallUpgradeStatus()
public void setOverallUpgradeStatus(java.lang.String overallUpgradeStatus)
overallUpgradeStatus - New value for the property.public java.lang.String getSiteId()
public void setSiteId(java.lang.String siteId)
siteId - New value for the property.public java.lang.String getSiteIp()
public void setSiteIp(java.lang.String siteIp)
siteIp - New value for the property.public java.lang.String getSiteType()
public void setSiteType(java.lang.String siteType)
siteType - New value for the property.public java.lang.String getTargetVersion()
public void setTargetVersion(java.lang.String targetVersion)
targetVersion - 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 FederationUpgradeSummary _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 FederationUpgradeSummary _newInstance2(com.vmware.vapi.data.StructValue structValue)