public final class CapacityDashboardUsage
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Modifier and Type | Class and Description |
---|---|
static class |
CapacityDashboardUsage.Builder
Builder class for
CapacityDashboardUsage . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
SEVERITY_CRITICAL |
static java.lang.String |
SEVERITY_ERROR |
static java.lang.String |
SEVERITY_INFO |
static java.lang.String |
SEVERITY_WARNING |
Modifier | Constructor and Description |
---|---|
|
CapacityDashboardUsage()
Default constructor.
|
protected |
CapacityDashboardUsage(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 CapacityDashboardUsage |
_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 CapacityDashboardUsage |
_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.Long |
getCurrentUsageCount()
Indicate the current usage count of object type.
|
java.lang.Double |
getCurrentUsagePercentage()
Current usage percentage for object type
|
java.lang.String |
getDisplayName()
Display name for NSX object type.
|
java.lang.Long |
getMaxSupportedCount()
This is the maximum supported count for object type in consideration.
|
java.lang.Double |
getMaxThresholdPercentage()
This indicates the maximum threshold percentage for object type.
|
java.lang.Double |
getMinThresholdPercentage()
This indicates the minimum threshold percentage for object type.
|
java.lang.String |
getSeverity()
Possible values are:
SEVERITY_INFO SEVERITY_WARNING SEVERITY_CRITICAL SEVERITY_ERROR Severity
calculated from percentage usage |
java.lang.String |
getUsageType()
Indicate the object type for which usage is calculated.
|
int |
hashCode() |
void |
setCurrentUsageCount(java.lang.Long currentUsageCount)
Indicate the current usage count of object type.
|
void |
setCurrentUsagePercentage(java.lang.Double currentUsagePercentage)
Current usage percentage for object type
|
void |
setDisplayName(java.lang.String displayName)
Display name for NSX object type.
|
void |
setMaxSupportedCount(java.lang.Long maxSupportedCount)
This is the maximum supported count for object type in consideration.
|
void |
setMaxThresholdPercentage(java.lang.Double maxThresholdPercentage)
This indicates the maximum threshold percentage for object type.
|
void |
setMinThresholdPercentage(java.lang.Double minThresholdPercentage)
This indicates the minimum threshold percentage for object type.
|
void |
setSeverity(java.lang.String severity)
Possible values are:
SEVERITY_INFO SEVERITY_WARNING SEVERITY_CRITICAL SEVERITY_ERROR Severity
calculated from percentage usage |
void |
setUsageType(java.lang.String usageType)
Indicate the object type for which usage is calculated.
|
java.lang.String |
toString() |
public static final java.lang.String SEVERITY_INFO
public static final java.lang.String SEVERITY_WARNING
public static final java.lang.String SEVERITY_CRITICAL
public static final java.lang.String SEVERITY_ERROR
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public CapacityDashboardUsage()
protected CapacityDashboardUsage(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.Long getCurrentUsageCount()
public void setCurrentUsageCount(java.lang.Long currentUsageCount)
currentUsageCount
- New value for the property.public java.lang.Double getCurrentUsagePercentage()
public void setCurrentUsagePercentage(java.lang.Double currentUsagePercentage)
currentUsagePercentage
- 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 getMaxSupportedCount()
public void setMaxSupportedCount(java.lang.Long maxSupportedCount)
maxSupportedCount
- New value for the property.public java.lang.Double getMaxThresholdPercentage()
public void setMaxThresholdPercentage(java.lang.Double maxThresholdPercentage)
maxThresholdPercentage
- New value for the property.public java.lang.Double getMinThresholdPercentage()
public void setMinThresholdPercentage(java.lang.Double minThresholdPercentage)
minThresholdPercentage
- New value for the property.public java.lang.String getSeverity()
public void setSeverity(java.lang.String severity)
severity
- New value for the property.public java.lang.String getUsageType()
public void setUsageType(java.lang.String usageType)
usageType
- 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 CapacityDashboardUsage _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 CapacityDashboardUsage _newInstance2(com.vmware.vapi.data.StructValue structValue)