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 |
getCurrentCreditNumber()
The current credit number reflects the current usage on the node.
|
java.lang.Long |
getCurrentLargeLoadBalancerServices()
The number of large load balancer services configured on the node.
|
java.lang.Long |
getCurrentMediumLoadBalancerServices()
The number of medium load balancer services configured on the node.
|
java.lang.Long |
getCurrentPoolMembers()
The number of pool members configured on the node.
|
java.lang.Long |
getCurrentPools()
The number of pools configured on the node.
|
java.lang.Long |
getCurrentSmallLoadBalancerServices()
The number of small load balancer services configured on the node.
|
java.lang.Long |
getCurrentVirtualServers()
The number of virtual servers configured on the node.
|
java.lang.Long |
getCurrentXlargeLoadBalancerServices()
The number of xlarge load balancer services configured on the node.
|
java.lang.String |
getEdgeClusterId()
The ID 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.String |
getNodeId()
The property identifies the node UUID for load balancer node usage.
|
java.lang.Long |
getRemainingCreditNumber()
The remaining credit number is the remaining credits that can be used for load
balancer service configuration.
|
java.lang.Long |
getRemainingLargeLoadBalancerServices()
The remaining number of large load balancer services which could be configured
on the given edge node.
|
java.lang.Long |
getRemainingMediumLoadBalancerServices()
The remaining number of medium load balancer services which could be configured
on the given edge node.
|
java.lang.Long |
getRemainingPoolMembers()
The remaining number of pool members which could be configured on the given edge
node.
|
java.lang.Long |
getRemainingSmallLoadBalancerServices()
The remaining number of small load balancer services which could be configured
on the given edge node.
|
java.lang.Long |
getRemainingXlargeLoadBalancerServices()
The remaining number of xlarge load balancer services which could be configured
on the given edge node.
|
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.String |
getType()
Possible values are:
LbNodeUsage.TYPE_LBEDGENODEUSAGE The property
identifies the load balancer node usage type. |
java.lang.Double |
getUsagePercentage()
The usage percentage of the edge node for load balancer.
|
int |
hashCode() |
void |
setCurrentCreditNumber(java.lang.Long currentCreditNumber)
The current credit number reflects the current usage on the node.
|
void |
setCurrentLargeLoadBalancerServices(java.lang.Long currentLargeLoadBalancerServices)
The number of large load balancer services configured on the node.
|
void |
setCurrentMediumLoadBalancerServices(java.lang.Long currentMediumLoadBalancerServices)
The number of medium load balancer services configured on the node.
|
void |
setCurrentPoolMembers(java.lang.Long currentPoolMembers)
The number of pool members configured on the node.
|
void |
setCurrentPools(java.lang.Long currentPools)
The number of pools configured on the node.
|
void |
setCurrentSmallLoadBalancerServices(java.lang.Long currentSmallLoadBalancerServices)
The number of small load balancer services configured on the node.
|
void |
setCurrentVirtualServers(java.lang.Long currentVirtualServers)
The number of virtual servers configured on the node.
|
void |
setCurrentXlargeLoadBalancerServices(java.lang.Long currentXlargeLoadBalancerServices)
The number of xlarge load balancer services configured on the node.
|
void |
setEdgeClusterId(java.lang.String edgeClusterId)
The ID 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 |
setNodeId(java.lang.String nodeId)
The property identifies the node UUID for load balancer node usage.
|
void |
setRemainingCreditNumber(java.lang.Long remainingCreditNumber)
The remaining credit number is the remaining credits that can be used for load
balancer service configuration.
|
void |
setRemainingLargeLoadBalancerServices(java.lang.Long remainingLargeLoadBalancerServices)
The remaining number of large load balancer services which could be configured
on the given edge node.
|
void |
setRemainingMediumLoadBalancerServices(java.lang.Long remainingMediumLoadBalancerServices)
The remaining number of medium load balancer services which could be configured
on the given edge node.
|
void |
setRemainingPoolMembers(java.lang.Long remainingPoolMembers)
The remaining number of pool members which could be configured on the given edge
node.
|
void |
setRemainingSmallLoadBalancerServices(java.lang.Long remainingSmallLoadBalancerServices)
The remaining number of small load balancer services which could be configured
on the given edge node.
|
void |
setRemainingXlargeLoadBalancerServices(java.lang.Long remainingXlargeLoadBalancerServices)
The remaining number of xlarge load balancer services which could 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 getCurrentCreditNumber()
public void setCurrentCreditNumber(java.lang.Long currentCreditNumber)
currentCreditNumber
- New value for the property.public java.lang.Long getCurrentLargeLoadBalancerServices()
public void setCurrentLargeLoadBalancerServices(java.lang.Long currentLargeLoadBalancerServices)
currentLargeLoadBalancerServices
- New value for the property.public java.lang.Long getCurrentMediumLoadBalancerServices()
public void setCurrentMediumLoadBalancerServices(java.lang.Long currentMediumLoadBalancerServices)
currentMediumLoadBalancerServices
- New value for the property.public java.lang.Long getCurrentPoolMembers()
public void setCurrentPoolMembers(java.lang.Long currentPoolMembers)
currentPoolMembers
- New value for the property.public java.lang.Long getCurrentPools()
public void setCurrentPools(java.lang.Long currentPools)
currentPools
- New value for the property.public java.lang.Long getCurrentSmallLoadBalancerServices()
public void setCurrentSmallLoadBalancerServices(java.lang.Long currentSmallLoadBalancerServices)
currentSmallLoadBalancerServices
- New value for the property.public java.lang.Long getCurrentVirtualServers()
public void setCurrentVirtualServers(java.lang.Long currentVirtualServers)
currentVirtualServers
- New value for the property.public java.lang.Long getCurrentXlargeLoadBalancerServices()
public void setCurrentXlargeLoadBalancerServices(java.lang.Long currentXlargeLoadBalancerServices)
currentXlargeLoadBalancerServices
- New value for the property.public java.lang.String getEdgeClusterId()
public void setEdgeClusterId(java.lang.String edgeClusterId)
edgeClusterId
- 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 getRemainingCreditNumber()
public void setRemainingCreditNumber(java.lang.Long remainingCreditNumber)
remainingCreditNumber
- New value for the property.public java.lang.Long getRemainingLargeLoadBalancerServices()
public void setRemainingLargeLoadBalancerServices(java.lang.Long remainingLargeLoadBalancerServices)
remainingLargeLoadBalancerServices
- New value for the property.public java.lang.Long getRemainingMediumLoadBalancerServices()
public void setRemainingMediumLoadBalancerServices(java.lang.Long remainingMediumLoadBalancerServices)
remainingMediumLoadBalancerServices
- New value for the property.public java.lang.Long getRemainingPoolMembers()
public void setRemainingPoolMembers(java.lang.Long remainingPoolMembers)
remainingPoolMembers
- New value for the property.public java.lang.Long getRemainingSmallLoadBalancerServices()
public void setRemainingSmallLoadBalancerServices(java.lang.Long remainingSmallLoadBalancerServices)
remainingSmallLoadBalancerServices
- New value for the property.public java.lang.Long getRemainingXlargeLoadBalancerServices()
public void setRemainingXlargeLoadBalancerServices(java.lang.Long remainingXlargeLoadBalancerServices)
remainingXlargeLoadBalancerServices
- 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 getNodeId()
public void setNodeId(java.lang.String nodeId)
nodeId
- New value for the property.public java.lang.String getType()
"LbEdgeNodeUsage"
.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 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.StructType
public static LbEdgeNodeUsage _newInstance2(com.vmware.vapi.data.StructValue structValue)