public final class FederationSite
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Modifier and Type | Class and Description |
---|---|
static class |
FederationSite.Builder
Builder class for
FederationSite . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
ACTIVE_GM_ACTIVE |
static java.lang.String |
ACTIVE_GM_INVALID |
static java.lang.String |
ACTIVE_GM_NONE |
static java.lang.String |
ACTIVE_GM_STANDBY |
static java.lang.String |
NODE_TYPE_GM |
static java.lang.String |
NODE_TYPE_GM_AND_LM |
static java.lang.String |
NODE_TYPE_LM |
Modifier | Constructor and Description |
---|---|
|
FederationSite()
Default constructor.
|
protected |
FederationSite(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 FederationSite |
_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 FederationSite |
_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 |
getActiveGm()
Possible values are:
ACTIVE_GM_ACTIVE ACTIVE_GM_STANDBY ACTIVE_GM_NONE ACTIVE_GM_INVALID Does site have
active GM |
java.util.List<AphInfo> |
getAphList()
Aph services in the site
|
java.lang.String |
getCertHash()
Hash of the trustManagerCert
|
java.lang.String |
getClusterId()
Cluster id
|
java.lang.Long |
getConfigVersion()
Site config version format: int64
|
java.lang.String |
getId()
Id of the site
|
java.lang.Boolean |
getIsFederated()
Is site federated
|
java.lang.Boolean |
getIsLocal()
Is site local
|
java.lang.String |
getName()
Name of the site
|
java.lang.String |
getNodeType()
|
java.lang.String |
getSiteVersion()
Version of the site
|
java.lang.Boolean |
getSplitBrain()
Split brain
|
java.lang.Long |
getSystemId()
System id format: int64
|
java.lang.String |
getTrustManagerCert()
Cert string from trust manager
|
java.lang.String |
getVipIp()
Vip ip
|
int |
hashCode() |
void |
setActiveGm(java.lang.String activeGm)
Possible values are:
ACTIVE_GM_ACTIVE ACTIVE_GM_STANDBY ACTIVE_GM_NONE ACTIVE_GM_INVALID Does site have
active GM |
void |
setAphList(java.util.List<AphInfo> aphList)
Aph services in the site
|
void |
setCertHash(java.lang.String certHash)
Hash of the trustManagerCert
|
void |
setClusterId(java.lang.String clusterId)
Cluster id
|
void |
setConfigVersion(java.lang.Long configVersion)
Site config version format: int64
|
void |
setId(java.lang.String id)
Id of the site
|
void |
setIsFederated(java.lang.Boolean isFederated)
Is site federated
|
void |
setIsLocal(java.lang.Boolean isLocal)
Is site local
|
void |
setName(java.lang.String name)
Name of the site
|
void |
setNodeType(java.lang.String nodeType)
|
void |
setSiteVersion(java.lang.String siteVersion)
Version of the site
|
void |
setSplitBrain(java.lang.Boolean splitBrain)
Split brain
|
void |
setSystemId(java.lang.Long systemId)
System id format: int64
|
void |
setTrustManagerCert(java.lang.String trustManagerCert)
Cert string from trust manager
|
void |
setVipIp(java.lang.String vipIp)
Vip ip
|
java.lang.String |
toString() |
public static final java.lang.String ACTIVE_GM_ACTIVE
public static final java.lang.String ACTIVE_GM_STANDBY
public static final java.lang.String ACTIVE_GM_NONE
public static final java.lang.String ACTIVE_GM_INVALID
public static final java.lang.String NODE_TYPE_GM
public static final java.lang.String NODE_TYPE_LM
public static final java.lang.String NODE_TYPE_GM_AND_LM
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public FederationSite()
protected FederationSite(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.String getActiveGm()
public void setActiveGm(java.lang.String activeGm)
activeGm
- New value for the property.public java.util.List<AphInfo> getAphList()
public void setAphList(java.util.List<AphInfo> aphList)
aphList
- New value for the property.public java.lang.String getCertHash()
public void setCertHash(java.lang.String certHash)
certHash
- New value for the property.public java.lang.String getClusterId()
public void setClusterId(java.lang.String clusterId)
clusterId
- New value for the property.public java.lang.Long getConfigVersion()
public void setConfigVersion(java.lang.Long configVersion)
configVersion
- 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.Boolean getIsFederated()
public void setIsFederated(java.lang.Boolean isFederated)
isFederated
- New value for the property.public java.lang.Boolean getIsLocal()
public void setIsLocal(java.lang.Boolean isLocal)
isLocal
- 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 getNodeType()
public void setNodeType(java.lang.String nodeType)
nodeType
- New value for the property.public java.lang.String getSiteVersion()
public void setSiteVersion(java.lang.String siteVersion)
siteVersion
- New value for the property.public java.lang.Boolean getSplitBrain()
public void setSplitBrain(java.lang.Boolean splitBrain)
splitBrain
- New value for the property.public java.lang.Long getSystemId()
public void setSystemId(java.lang.Long systemId)
systemId
- New value for the property.public java.lang.String getTrustManagerCert()
public void setTrustManagerCert(java.lang.String trustManagerCert)
trustManagerCert
- New value for the property.public java.lang.String getVipIp()
public void setVipIp(java.lang.String vipIp)
vipIp
- 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 FederationSite _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 FederationSite _newInstance2(com.vmware.vapi.data.StructValue structValue)