public final class LBServiceUsage
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
| Modifier and Type | Class and Description |
|---|---|
static class |
LBServiceUsage.Builder
Builder class for
LBServiceUsage. |
| 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 |
SERVICE_SIZE_DLB |
static java.lang.String |
SERVICE_SIZE_LARGE |
static java.lang.String |
SERVICE_SIZE_MEDIUM |
static java.lang.String |
SERVICE_SIZE_SMALL |
static java.lang.String |
SERVICE_SIZE_XLARGE |
static java.lang.String |
SEVERITY_GREEN |
static java.lang.String |
SEVERITY_ORANGE |
static java.lang.String |
SEVERITY_RED |
| Modifier | Constructor and Description |
|---|---|
|
LBServiceUsage()
Default constructor.
|
protected |
LBServiceUsage(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 LBServiceUsage |
_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 LBServiceUsage |
_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) |
PolicyRuntimeAlarm |
getAlarm() |
java.lang.Long |
getCurrentPoolCount()
The current number of pools which has been configured in the given load balancer
service.
|
java.lang.Long |
getCurrentPoolMemberCount()
The current number of pool members which has been configured in the given load
balancer service.
|
java.lang.Long |
getCurrentVirtualServerCount()
The current number of virtual servers which has been configured in the given
load balancer service.
|
java.lang.String |
getEnforcementPointPath()
Policy Path referencing the enforcement point where the info is fetched.
|
java.lang.Long |
getLastUpdateTimestamp()
Timestamp when the data was last updated.
|
java.lang.Long |
getPoolCapacity()
Pool capacity means maximum number of pools which could be configured in the
given load balancer service.
|
java.lang.Long |
getPoolMemberCapacity()
Pool member capacity means maximum number of pool members which could be
configured in the given load balancer service.
|
java.lang.String |
getResourceType()
The value of this property is automatically populated to
"LBServiceUsage". |
java.lang.String |
getServicePath()
LBService object path.
|
java.lang.String |
getServiceSize()
Possible values are:
SERVICE_SIZE_SMALL SERVICE_SIZE_MEDIUM SERVICE_SIZE_LARGE SERVICE_SIZE_XLARGE SERVICE_SIZE_DLB The size
of load balancer service. |
java.lang.String |
getSeverity()
Possible values are:
SEVERITY_GREEN SEVERITY_ORANGE SEVERITY_RED The severity
calculation is based on the largest usage percentage from virtual servers, pools
and pool members for one load balancer service. |
java.lang.Double |
getUsagePercentage()
The usage percentage is the largest usage percentage from virtual servers, pools
and pool members for the load balancer service.
|
java.lang.Long |
getVirtualServerCapacity()
Virtual server capacity means maximum number of virtual servers which could be
configured in the given load balancer service.
|
int |
hashCode() |
void |
setAlarm(PolicyRuntimeAlarm alarm) |
void |
setCurrentPoolCount(java.lang.Long currentPoolCount)
The current number of pools which has been configured in the given load balancer
service.
|
void |
setCurrentPoolMemberCount(java.lang.Long currentPoolMemberCount)
The current number of pool members which has been configured in the given load
balancer service.
|
void |
setCurrentVirtualServerCount(java.lang.Long currentVirtualServerCount)
The current number of virtual servers which has been configured in the given
load balancer service.
|
void |
setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy Path referencing the enforcement point where the info is fetched.
|
void |
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated.
|
void |
setPoolCapacity(java.lang.Long poolCapacity)
Pool capacity means maximum number of pools which could be configured in the
given load balancer service.
|
void |
setPoolMemberCapacity(java.lang.Long poolMemberCapacity)
Pool member capacity means maximum number of pool members which could be
configured in the given load balancer service.
|
void |
setServicePath(java.lang.String servicePath)
LBService object path.
|
void |
setServiceSize(java.lang.String serviceSize)
Possible values are:
SERVICE_SIZE_SMALL SERVICE_SIZE_MEDIUM SERVICE_SIZE_LARGE SERVICE_SIZE_XLARGE SERVICE_SIZE_DLB The size
of load balancer service. |
void |
setSeverity(java.lang.String severity)
Possible values are:
SEVERITY_GREEN SEVERITY_ORANGE SEVERITY_RED The severity
calculation is based on the largest usage percentage from virtual servers, pools
and pool members for one load balancer service. |
void |
setUsagePercentage(java.lang.Double usagePercentage)
The usage percentage is the largest usage percentage from virtual servers, pools
and pool members for the load balancer service.
|
void |
setVirtualServerCapacity(java.lang.Long virtualServerCapacity)
Virtual server capacity means maximum number of virtual servers which could be
configured in the given load balancer service.
|
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 SERVICE_SIZE_SMALL
public static final java.lang.String SERVICE_SIZE_MEDIUM
public static final java.lang.String SERVICE_SIZE_LARGE
public static final java.lang.String SERVICE_SIZE_XLARGE
public static final java.lang.String SERVICE_SIZE_DLB
public static final java.lang.String SEVERITY_GREEN
public static final java.lang.String SEVERITY_ORANGE
public static final java.lang.String SEVERITY_RED
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public LBServiceUsage()
protected LBServiceUsage(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.Long getCurrentPoolCount()
public void setCurrentPoolCount(java.lang.Long currentPoolCount)
currentPoolCount - New value for the property.public java.lang.Long getCurrentPoolMemberCount()
public void setCurrentPoolMemberCount(java.lang.Long currentPoolMemberCount)
currentPoolMemberCount - New value for the property.public java.lang.Long getCurrentVirtualServerCount()
public void setCurrentVirtualServerCount(java.lang.Long currentVirtualServerCount)
currentVirtualServerCount - 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 getPoolCapacity()
public void setPoolCapacity(java.lang.Long poolCapacity)
poolCapacity - New value for the property.public java.lang.Long getPoolMemberCapacity()
public void setPoolMemberCapacity(java.lang.Long poolMemberCapacity)
poolMemberCapacity - New value for the property.public java.lang.String getServicePath()
public void setServicePath(java.lang.String servicePath)
servicePath - New value for the property.public java.lang.String getServiceSize()
public void setServiceSize(java.lang.String serviceSize)
serviceSize - 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.Double getUsagePercentage()
public void setUsagePercentage(java.lang.Double usagePercentage)
usagePercentage - New value for the property.public java.lang.Long getVirtualServerCapacity()
public void setVirtualServerCapacity(java.lang.Long virtualServerCapacity)
virtualServerCapacity - 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()
"LBServiceUsage".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 LBServiceUsage _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 LBServiceUsage _newInstance2(com.vmware.vapi.data.StructValue structValue)