public final class LBEdgeNodeUsage
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
| Modifier and Type | Class and Description |
|---|---|
static class |
LBEdgeNodeUsage.Builder
Builder class for
LBEdgeNodeUsage. |
| 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 |
FORM_FACTOR_LARGE_VIRTUAL_MACHINE |
static java.lang.String |
FORM_FACTOR_MEDIUM_VIRTUAL_MACHINE |
static java.lang.String |
FORM_FACTOR_PHYSICAL_MACHINE |
static java.lang.String |
FORM_FACTOR_SMALL_VIRTUAL_MACHINE |
static java.lang.String |
FORM_FACTOR_XLARGE_VIRTUAL_MACHINE |
static java.lang.String |
SEVERITY_GREEN |
static java.lang.String |
SEVERITY_ORANGE |
static java.lang.String |
SEVERITY_RED |
| Modifier | Constructor and Description |
|---|---|
|
LBEdgeNodeUsage()
Default constructor.
|
protected |
LBEdgeNodeUsage(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 LBEdgeNodeUsage |
_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 LBEdgeNodeUsage |
_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 |
getCurrentLargeLoadBalancerCount()
The count of large load balancer services configured on the node.
|
java.lang.Long |
getCurrentLoadBalancerCredits()
The current load balancer credits means the current credits used on the node.
|
java.lang.Long |
getCurrentMediumLoadBalancerCount()
The count of medium load balancer services configured on the node.
|
java.lang.Long |
getCurrentPoolCount()
The count of pools configured on the node.
|
java.lang.Long |
getCurrentPoolMemberCount()
The count of pool members configured on the node.
|
java.lang.Long |
getCurrentSmallLoadBalancerCount()
The count of small load balancer services configured on the node.
|
java.lang.Long |
getCurrentVirtualServerCount()
The count of virtual servers configured on the node.
|
java.lang.Long |
getCurrentXlargeLoadBalancerCount()
The count of xlarge load balancer services configured on the node.
|
java.lang.String |
getEdgeClusterPath()
The path of edge cluster which contains the edge node.
|
java.lang.String |
getFormFactor()
Possible values are:
FORM_FACTOR_SMALL_VIRTUAL_MACHINE
FORM_FACTOR_MEDIUM_VIRTUAL_MACHINE
FORM_FACTOR_LARGE_VIRTUAL_MACHINE
FORM_FACTOR_XLARGE_VIRTUAL_MACHINE
FORM_FACTOR_PHYSICAL_MACHINE
The form factor of the given edge node. |
java.lang.Long |
getLoadBalancerCreditCapacity()
The load balancer credit capacity means the maximum credits which can be used
for load balancer configuration for the given edge node.
|
java.lang.String |
getNodePath()
The property identifies the node path for load balancer node usage.
|
java.lang.Long |
getPoolMemberCapacity()
Pool member capacity means maximum number of pool members which can be
configured on the given edge node.
|
java.lang.Long |
getRemainingLargeLoadBalancerCount()
The remaining count of large load balancer services which can be configured on
the given edge node.
|
java.lang.Long |
getRemainingMediumLoadBalancerCount()
The remaining count of medium load balancer services which can be configured on
the given edge node.
|
java.lang.Long |
getRemainingSmallLoadBalancerCount()
The remaining count of small load balancer services which can be configured on
the given edge node.
|
java.lang.Long |
getRemainingXlargeLoadBalancerCount()
The remaining count of xlarge load balancer services which can be configured on
the given edge node.
|
java.lang.String |
getResourceType()
The property identifies the load balancer node usage type.
|
java.lang.String |
getSeverity()
Possible values are:
SEVERITY_GREEN SEVERITY_ORANGE SEVERITY_RED The
severity calculation is based on current credit usage percentage of load
balancer for one node. |
java.lang.Double |
getUsagePercentage()
The usage percentage of the edge node for load balancer.
|
int |
hashCode() |
void |
setCurrentLargeLoadBalancerCount(java.lang.Long currentLargeLoadBalancerCount)
The count of large load balancer services configured on the node.
|
void |
setCurrentLoadBalancerCredits(java.lang.Long currentLoadBalancerCredits)
The current load balancer credits means the current credits used on the node.
|
void |
setCurrentMediumLoadBalancerCount(java.lang.Long currentMediumLoadBalancerCount)
The count of medium load balancer services configured on the node.
|
void |
setCurrentPoolCount(java.lang.Long currentPoolCount)
The count of pools configured on the node.
|
void |
setCurrentPoolMemberCount(java.lang.Long currentPoolMemberCount)
The count of pool members configured on the node.
|
void |
setCurrentSmallLoadBalancerCount(java.lang.Long currentSmallLoadBalancerCount)
The count of small load balancer services configured on the node.
|
void |
setCurrentVirtualServerCount(java.lang.Long currentVirtualServerCount)
The count of virtual servers configured on the node.
|
void |
setCurrentXlargeLoadBalancerCount(java.lang.Long currentXlargeLoadBalancerCount)
The count of xlarge load balancer services configured on the node.
|
void |
setEdgeClusterPath(java.lang.String edgeClusterPath)
The path of edge cluster which contains the edge node.
|
void |
setFormFactor(java.lang.String formFactor)
Possible values are:
FORM_FACTOR_SMALL_VIRTUAL_MACHINE
FORM_FACTOR_MEDIUM_VIRTUAL_MACHINE
FORM_FACTOR_LARGE_VIRTUAL_MACHINE
FORM_FACTOR_XLARGE_VIRTUAL_MACHINE
FORM_FACTOR_PHYSICAL_MACHINE
The form factor of the given edge node. |
void |
setLoadBalancerCreditCapacity(java.lang.Long loadBalancerCreditCapacity)
The load balancer credit capacity means the maximum credits which can be used
for load balancer configuration for the given edge node.
|
void |
setNodePath(java.lang.String nodePath)
The property identifies the node path for load balancer node usage.
|
void |
setPoolMemberCapacity(java.lang.Long poolMemberCapacity)
Pool member capacity means maximum number of pool members which can be
configured on the given edge node.
|
void |
setRemainingLargeLoadBalancerCount(java.lang.Long remainingLargeLoadBalancerCount)
The remaining count of large load balancer services which can be configured on
the given edge node.
|
void |
setRemainingMediumLoadBalancerCount(java.lang.Long remainingMediumLoadBalancerCount)
The remaining count of medium load balancer services which can be configured on
the given edge node.
|
void |
setRemainingSmallLoadBalancerCount(java.lang.Long remainingSmallLoadBalancerCount)
The remaining count of small load balancer services which can be configured on
the given edge node.
|
void |
setRemainingXlargeLoadBalancerCount(java.lang.Long remainingXlargeLoadBalancerCount)
The remaining count of xlarge load balancer services which can be configured on
the given edge node.
|
void |
setSeverity(java.lang.String severity)
Possible values are:
SEVERITY_GREEN SEVERITY_ORANGE SEVERITY_RED The
severity calculation is based on current credit usage percentage of load
balancer for one node. |
void |
setUsagePercentage(java.lang.Double usagePercentage)
The usage percentage of the edge node for load balancer.
|
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 FORM_FACTOR_SMALL_VIRTUAL_MACHINE
public static final java.lang.String FORM_FACTOR_MEDIUM_VIRTUAL_MACHINE
public static final java.lang.String FORM_FACTOR_LARGE_VIRTUAL_MACHINE
public static final java.lang.String FORM_FACTOR_XLARGE_VIRTUAL_MACHINE
public static final java.lang.String FORM_FACTOR_PHYSICAL_MACHINE
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 LBEdgeNodeUsage()
protected LBEdgeNodeUsage(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.Long getCurrentLargeLoadBalancerCount()
public void setCurrentLargeLoadBalancerCount(java.lang.Long currentLargeLoadBalancerCount)
currentLargeLoadBalancerCount - New value for the property.public java.lang.Long getCurrentLoadBalancerCredits()
public void setCurrentLoadBalancerCredits(java.lang.Long currentLoadBalancerCredits)
currentLoadBalancerCredits - New value for the property.public java.lang.Long getCurrentMediumLoadBalancerCount()
public void setCurrentMediumLoadBalancerCount(java.lang.Long currentMediumLoadBalancerCount)
currentMediumLoadBalancerCount - New value for the property.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 getCurrentSmallLoadBalancerCount()
public void setCurrentSmallLoadBalancerCount(java.lang.Long currentSmallLoadBalancerCount)
currentSmallLoadBalancerCount - 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 getCurrentXlargeLoadBalancerCount()
public void setCurrentXlargeLoadBalancerCount(java.lang.Long currentXlargeLoadBalancerCount)
currentXlargeLoadBalancerCount - New value for the property.public java.lang.String getEdgeClusterPath()
public void setEdgeClusterPath(java.lang.String edgeClusterPath)
edgeClusterPath - New value for the property.public java.lang.String getFormFactor()
public void setFormFactor(java.lang.String formFactor)
formFactor - New value for the property.public java.lang.Long getLoadBalancerCreditCapacity()
public void setLoadBalancerCreditCapacity(java.lang.Long loadBalancerCreditCapacity)
loadBalancerCreditCapacity - 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.Long getRemainingLargeLoadBalancerCount()
public void setRemainingLargeLoadBalancerCount(java.lang.Long remainingLargeLoadBalancerCount)
remainingLargeLoadBalancerCount - New value for the property.public java.lang.Long getRemainingMediumLoadBalancerCount()
public void setRemainingMediumLoadBalancerCount(java.lang.Long remainingMediumLoadBalancerCount)
remainingMediumLoadBalancerCount - New value for the property.public java.lang.Long getRemainingSmallLoadBalancerCount()
public void setRemainingSmallLoadBalancerCount(java.lang.Long remainingSmallLoadBalancerCount)
remainingSmallLoadBalancerCount - New value for the property.public java.lang.Long getRemainingXlargeLoadBalancerCount()
public void setRemainingXlargeLoadBalancerCount(java.lang.Long remainingXlargeLoadBalancerCount)
remainingXlargeLoadBalancerCount - 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.String getNodePath()
public void setNodePath(java.lang.String nodePath)
nodePath - New value for the property.public java.lang.String getResourceType()
"LBEdgeNodeUsage".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 LBEdgeNodeUsage _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 LBEdgeNodeUsage _newInstance2(com.vmware.vapi.data.StructValue structValue)