public final class LBServiceUsageSummary
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
| Modifier and Type | Class and Description |
|---|---|
static class |
LBServiceUsageSummary.Builder
Builder class for
LBServiceUsageSummary. |
| Modifier and Type | Field and Description |
|---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
POOL_MEMBER_SEVERITY_GREEN |
static java.lang.String |
POOL_MEMBER_SEVERITY_ORANGE |
static java.lang.String |
POOL_MEMBER_SEVERITY_RED |
static java.lang.String |
POOL_SEVERITY_GREEN |
static java.lang.String |
POOL_SEVERITY_ORANGE |
static java.lang.String |
POOL_SEVERITY_RED |
static java.lang.String |
VIRTUAL_SERVER_SEVERITY_GREEN |
static java.lang.String |
VIRTUAL_SERVER_SEVERITY_ORANGE |
static java.lang.String |
VIRTUAL_SERVER_SEVERITY_RED |
| Modifier | Constructor and Description |
|---|---|
|
LBServiceUsageSummary()
Default constructor.
|
protected |
LBServiceUsageSummary(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 LBServiceUsageSummary |
_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 LBServiceUsageSummary |
_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 |
getCurrentPoolCount()
The current count of pools configured for all load balancer services.
|
java.lang.Long |
getCurrentPoolMemberCount()
The current count of pool members configured for all load balancer services.
|
java.lang.Long |
getCurrentVirtualServerCount()
The current count of virtual servers configured for all load balancer services.
|
java.lang.Long |
getPoolCapacity()
Pool capacity means maximum number of pools which can be configured for all load
balancer services.
|
java.lang.Long |
getPoolMemberCapacity()
Pool capacity means maximum number of pool members which can be configured for
all load balancer services.
|
java.lang.String |
getPoolMemberSeverity()
Possible values are:
POOL_MEMBER_SEVERITY_GREEN
POOL_MEMBER_SEVERITY_ORANGE
POOL_MEMBER_SEVERITY_RED
The severity calculation is based on the overall usage percentage of pool
members for all load balancer services. |
java.lang.Double |
getPoolMemberUsagePercentage()
Overall pool member usage percentage for all load balancer services.
|
java.lang.String |
getPoolSeverity()
Possible values are:
POOL_SEVERITY_GREEN
POOL_SEVERITY_ORANGE
POOL_SEVERITY_RED
The severity calculation is based on the overall usage percentage of pools for
all load balancer services. |
java.lang.Double |
getPoolUsagePercentage()
Overall pool usage percentage for all load balancer services.
|
java.util.List<LBServiceCountPerSeverity> |
getServiceCounts()
The service count for each load balancer usage severity.
|
java.util.List<LBServiceUsage> |
getServiceUsages()
The property identifies all lb service usages.
|
java.lang.Long |
getVirtualServerCapacity()
Virtual server capacity means maximum number of virtual servers which can be
configured for all load balancer services.
|
java.lang.String |
getVirtualServerSeverity()
Possible values are:
VIRTUAL_SERVER_SEVERITY_GREEN
VIRTUAL_SERVER_SEVERITY_ORANGE
VIRTUAL_SERVER_SEVERITY_RED
The severity calculation is based on the overall usage percentage of
virtual servers for all load balancer services. |
java.lang.Double |
getVirtualServerUsagePercentage()
Overall virtual server usage percentage for all load balancer services.
|
int |
hashCode() |
void |
setCurrentPoolCount(java.lang.Long currentPoolCount)
The current count of pools configured for all load balancer services.
|
void |
setCurrentPoolMemberCount(java.lang.Long currentPoolMemberCount)
The current count of pool members configured for all load balancer services.
|
void |
setCurrentVirtualServerCount(java.lang.Long currentVirtualServerCount)
The current count of virtual servers configured for all load balancer services.
|
void |
setPoolCapacity(java.lang.Long poolCapacity)
Pool capacity means maximum number of pools which can be configured for all load
balancer services.
|
void |
setPoolMemberCapacity(java.lang.Long poolMemberCapacity)
Pool capacity means maximum number of pool members which can be configured for
all load balancer services.
|
void |
setPoolMemberSeverity(java.lang.String poolMemberSeverity)
Possible values are:
POOL_MEMBER_SEVERITY_GREEN
POOL_MEMBER_SEVERITY_ORANGE
POOL_MEMBER_SEVERITY_RED
The severity calculation is based on the overall usage percentage of pool
members for all load balancer services. |
void |
setPoolMemberUsagePercentage(java.lang.Double poolMemberUsagePercentage)
Overall pool member usage percentage for all load balancer services.
|
void |
setPoolSeverity(java.lang.String poolSeverity)
Possible values are:
POOL_SEVERITY_GREEN
POOL_SEVERITY_ORANGE
POOL_SEVERITY_RED
The severity calculation is based on the overall usage percentage of pools for
all load balancer services. |
void |
setPoolUsagePercentage(java.lang.Double poolUsagePercentage)
Overall pool usage percentage for all load balancer services.
|
void |
setServiceCounts(java.util.List<LBServiceCountPerSeverity> serviceCounts)
The service count for each load balancer usage severity.
|
void |
setServiceUsages(java.util.List<LBServiceUsage> serviceUsages)
The property identifies all lb service usages.
|
void |
setVirtualServerCapacity(java.lang.Long virtualServerCapacity)
Virtual server capacity means maximum number of virtual servers which can be
configured for all load balancer services.
|
void |
setVirtualServerSeverity(java.lang.String virtualServerSeverity)
Possible values are:
VIRTUAL_SERVER_SEVERITY_GREEN
VIRTUAL_SERVER_SEVERITY_ORANGE
VIRTUAL_SERVER_SEVERITY_RED
The severity calculation is based on the overall usage percentage of
virtual servers for all load balancer services. |
void |
setVirtualServerUsagePercentage(java.lang.Double virtualServerUsagePercentage)
Overall virtual server usage percentage for all load balancer services.
|
java.lang.String |
toString() |
public static final java.lang.String POOL_MEMBER_SEVERITY_GREEN
public static final java.lang.String POOL_MEMBER_SEVERITY_ORANGE
public static final java.lang.String POOL_MEMBER_SEVERITY_RED
public static final java.lang.String POOL_SEVERITY_GREEN
public static final java.lang.String POOL_SEVERITY_ORANGE
public static final java.lang.String POOL_SEVERITY_RED
public static final java.lang.String VIRTUAL_SERVER_SEVERITY_GREEN
public static final java.lang.String VIRTUAL_SERVER_SEVERITY_ORANGE
public static final java.lang.String VIRTUAL_SERVER_SEVERITY_RED
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public LBServiceUsageSummary()
protected LBServiceUsageSummary(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 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 getPoolMemberSeverity()
public void setPoolMemberSeverity(java.lang.String poolMemberSeverity)
poolMemberSeverity - New value for the property.public java.lang.Double getPoolMemberUsagePercentage()
public void setPoolMemberUsagePercentage(java.lang.Double poolMemberUsagePercentage)
poolMemberUsagePercentage - New value for the property.public java.lang.String getPoolSeverity()
public void setPoolSeverity(java.lang.String poolSeverity)
poolSeverity - New value for the property.public java.lang.Double getPoolUsagePercentage()
public void setPoolUsagePercentage(java.lang.Double poolUsagePercentage)
poolUsagePercentage - New value for the property.public java.util.List<LBServiceCountPerSeverity> getServiceCounts()
public void setServiceCounts(java.util.List<LBServiceCountPerSeverity> serviceCounts)
serviceCounts - New value for the property.public java.util.List<LBServiceUsage> getServiceUsages()
public void setServiceUsages(java.util.List<LBServiceUsage> serviceUsages)
serviceUsages - New value for the property.public java.lang.Long getVirtualServerCapacity()
public void setVirtualServerCapacity(java.lang.Long virtualServerCapacity)
virtualServerCapacity - New value for the property.public java.lang.String getVirtualServerSeverity()
public void setVirtualServerSeverity(java.lang.String virtualServerSeverity)
virtualServerSeverity - New value for the property.public java.lang.Double getVirtualServerUsagePercentage()
public void setVirtualServerUsagePercentage(java.lang.Double virtualServerUsagePercentage)
virtualServerUsagePercentage - 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 LBServiceUsageSummary _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 LBServiceUsageSummary _newInstance2(com.vmware.vapi.data.StructValue structValue)