Class LBEdgeNodeUsage

  • All Implemented Interfaces:
    com.vmware.vapi.bindings.StaticStructure, com.vmware.vapi.bindings.Structure, java.io.Serializable

    public final class LBEdgeNodeUsage
    extends java.lang.Object
    implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
    The capacity contains basic information and load balancer entity usages and capacity for the given edge node.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPE_IDENTIFIER

        public static final java.lang.String _TYPE_IDENTIFIER
        Identifier denoting this class, when it is used in polymorphic context.

        This value should be assigned to the property which is used to discriminate the actual type used in the polymorphic context.

        See Also:
        Constant Field Values
      • FORM_FACTOR_SMALL_VIRTUAL_MACHINE

        public static final java.lang.String FORM_FACTOR_SMALL_VIRTUAL_MACHINE
        See Also:
        Constant Field Values
      • FORM_FACTOR_MEDIUM_VIRTUAL_MACHINE

        public static final java.lang.String FORM_FACTOR_MEDIUM_VIRTUAL_MACHINE
        See Also:
        Constant Field Values
      • FORM_FACTOR_LARGE_VIRTUAL_MACHINE

        public static final java.lang.String FORM_FACTOR_LARGE_VIRTUAL_MACHINE
        See Also:
        Constant Field Values
      • FORM_FACTOR_XLARGE_VIRTUAL_MACHINE

        public static final java.lang.String FORM_FACTOR_XLARGE_VIRTUAL_MACHINE
        See Also:
        Constant Field Values
      • FORM_FACTOR_PHYSICAL_MACHINE

        public static final java.lang.String FORM_FACTOR_PHYSICAL_MACHINE
        See Also:
        Constant Field Values
      • __dynamicStructureFields

        protected com.vmware.vapi.data.StructValue __dynamicStructureFields
    • Constructor Detail

      • LBEdgeNodeUsage

        public LBEdgeNodeUsage()
        Default constructor.
      • LBEdgeNodeUsage

        protected LBEdgeNodeUsage​(com.vmware.vapi.data.StructValue __dynamicStructureFields)
    • Method Detail

      • getCurrentLargeLoadBalancerCount

        public java.lang.Long getCurrentLargeLoadBalancerCount()
        The count of large load balancer services configured on the node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Returns:
        The current value of the property.
      • setCurrentLargeLoadBalancerCount

        public void setCurrentLargeLoadBalancerCount​(java.lang.Long currentLargeLoadBalancerCount)
        The count of large load balancer services configured on the node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        currentLargeLoadBalancerCount - New value for the property.
      • getCurrentLoadBalancerCredits

        public java.lang.Long getCurrentLoadBalancerCredits()
        The current load balancer credits means the current credits used on the node. For example, configuring a medium load balancer on a node consumes 10 credits. If there are 2 medium instances configured on a node, the current credit number is 2 * 10 = 20. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Returns:
        The current value of the property.
      • setCurrentLoadBalancerCredits

        public void setCurrentLoadBalancerCredits​(java.lang.Long currentLoadBalancerCredits)
        The current load balancer credits means the current credits used on the node. For example, configuring a medium load balancer on a node consumes 10 credits. If there are 2 medium instances configured on a node, the current credit number is 2 * 10 = 20. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        currentLoadBalancerCredits - New value for the property.
      • getCurrentMediumLoadBalancerCount

        public java.lang.Long getCurrentMediumLoadBalancerCount()
        The count of medium load balancer services configured on the node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Returns:
        The current value of the property.
      • setCurrentMediumLoadBalancerCount

        public void setCurrentMediumLoadBalancerCount​(java.lang.Long currentMediumLoadBalancerCount)
        The count of medium load balancer services configured on the node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        currentMediumLoadBalancerCount - New value for the property.
      • getCurrentPoolCount

        public java.lang.Long getCurrentPoolCount()
        The count of pools configured on the node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Returns:
        The current value of the property.
      • setCurrentPoolCount

        public void setCurrentPoolCount​(java.lang.Long currentPoolCount)
        The count of pools configured on the node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        currentPoolCount - New value for the property.
      • getCurrentPoolMemberCount

        public java.lang.Long getCurrentPoolMemberCount()
        The count of pool members configured on the node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Returns:
        The current value of the property.
      • setCurrentPoolMemberCount

        public void setCurrentPoolMemberCount​(java.lang.Long currentPoolMemberCount)
        The count of pool members configured on the node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        currentPoolMemberCount - New value for the property.
      • getCurrentSmallLoadBalancerCount

        public java.lang.Long getCurrentSmallLoadBalancerCount()
        The count of small load balancer services configured on the node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Returns:
        The current value of the property.
      • setCurrentSmallLoadBalancerCount

        public void setCurrentSmallLoadBalancerCount​(java.lang.Long currentSmallLoadBalancerCount)
        The count of small load balancer services configured on the node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        currentSmallLoadBalancerCount - New value for the property.
      • getCurrentVirtualServerCount

        public java.lang.Long getCurrentVirtualServerCount()
        The count of virtual servers configured on the node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Returns:
        The current value of the property.
      • setCurrentVirtualServerCount

        public void setCurrentVirtualServerCount​(java.lang.Long currentVirtualServerCount)
        The count of virtual servers configured on the node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        currentVirtualServerCount - New value for the property.
      • getCurrentXlargeLoadBalancerCount

        public java.lang.Long getCurrentXlargeLoadBalancerCount()
        The count of xlarge load balancer services configured on the node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Returns:
        The current value of the property.
      • setCurrentXlargeLoadBalancerCount

        public void setCurrentXlargeLoadBalancerCount​(java.lang.Long currentXlargeLoadBalancerCount)
        The count of xlarge load balancer services configured on the node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        currentXlargeLoadBalancerCount - New value for the property.
      • getEdgeClusterPath

        public java.lang.String getEdgeClusterPath()
        The path of edge cluster which contains the edge node. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Returns:
        The current value of the property.
      • setEdgeClusterPath

        public void setEdgeClusterPath​(java.lang.String edgeClusterPath)
        The path of edge cluster which contains the edge node. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        edgeClusterPath - New value for the property.
      • getLoadBalancerCreditCapacity

        public 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. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Returns:
        The current value of the property.
      • setLoadBalancerCreditCapacity

        public 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. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        loadBalancerCreditCapacity - New value for the property.
      • getPoolMemberCapacity

        public java.lang.Long getPoolMemberCapacity()
        Pool member capacity means maximum number of pool members which can be configured on the given edge node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Returns:
        The current value of the property.
      • setPoolMemberCapacity

        public void setPoolMemberCapacity​(java.lang.Long poolMemberCapacity)
        Pool member capacity means maximum number of pool members which can be configured on the given edge node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        poolMemberCapacity - New value for the property.
      • getRemainingLargeLoadBalancerCount

        public java.lang.Long getRemainingLargeLoadBalancerCount()
        The remaining count of large load balancer services which can be configured on the given edge node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Returns:
        The current value of the property.
      • setRemainingLargeLoadBalancerCount

        public void setRemainingLargeLoadBalancerCount​(java.lang.Long remainingLargeLoadBalancerCount)
        The remaining count of large load balancer services which can be configured on the given edge node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        remainingLargeLoadBalancerCount - New value for the property.
      • getRemainingMediumLoadBalancerCount

        public java.lang.Long getRemainingMediumLoadBalancerCount()
        The remaining count of medium load balancer services which can be configured on the given edge node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Returns:
        The current value of the property.
      • setRemainingMediumLoadBalancerCount

        public void setRemainingMediumLoadBalancerCount​(java.lang.Long remainingMediumLoadBalancerCount)
        The remaining count of medium load balancer services which can be configured on the given edge node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        remainingMediumLoadBalancerCount - New value for the property.
      • getRemainingSmallLoadBalancerCount

        public java.lang.Long getRemainingSmallLoadBalancerCount()
        The remaining count of small load balancer services which can be configured on the given edge node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Returns:
        The current value of the property.
      • setRemainingSmallLoadBalancerCount

        public void setRemainingSmallLoadBalancerCount​(java.lang.Long remainingSmallLoadBalancerCount)
        The remaining count of small load balancer services which can be configured on the given edge node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        remainingSmallLoadBalancerCount - New value for the property.
      • getRemainingXlargeLoadBalancerCount

        public java.lang.Long getRemainingXlargeLoadBalancerCount()
        The remaining count of xlarge load balancer services which can be configured on the given edge node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Returns:
        The current value of the property.
      • setRemainingXlargeLoadBalancerCount

        public void setRemainingXlargeLoadBalancerCount​(java.lang.Long remainingXlargeLoadBalancerCount)
        The remaining count of xlarge load balancer services which can be configured on the given edge node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        remainingXlargeLoadBalancerCount - New value for the property.
      • getSeverity

        public java.lang.String getSeverity()
        Possible values are: The severity calculation is based on current credit usage percentage of load balancer for one node. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Returns:
        The current value of the property.
      • setSeverity

        public void setSeverity​(java.lang.String severity)
        Possible values are: The severity calculation is based on current credit usage percentage of load balancer for one node. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        severity - New value for the property.
      • getUsagePercentage

        public java.lang.Double getUsagePercentage()
        The usage percentage of the edge node for load balancer. The value is the larger value between load balancer credit usage percentage and pool member usage percentage for the edge node. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Returns:
        The current value of the property.
      • setUsagePercentage

        public void setUsagePercentage​(java.lang.Double usagePercentage)
        The usage percentage of the edge node for load balancer. The value is the larger value between load balancer credit usage percentage and pool member usage percentage for the edge node. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        usagePercentage - New value for the property.
      • getNodePath

        public java.lang.String getNodePath()
        The property identifies the node path for load balancer node usage. For example, node_path=/infra/sites/default/enforcement-points/default /edge-clusters/85175e0b-4d74-461d-83e1-f3b785adef9c/edge-nodes /86e077c0-449f-11e9-87c8-02004eb37029.
        Returns:
        The current value of the property.
      • setNodePath

        public void setNodePath​(java.lang.String nodePath)
        The property identifies the node path for load balancer node usage. For example, node_path=/infra/sites/default/enforcement-points/default /edge-clusters/85175e0b-4d74-461d-83e1-f3b785adef9c/edge-nodes /86e077c0-449f-11e9-87c8-02004eb37029.
        Parameters:
        nodePath - New value for the property.
      • getResourceType

        public java.lang.String getResourceType()
        The property identifies the load balancer node usage type. The value of this property is automatically populated to "LBEdgeNodeUsage".
        Returns:
        The current value of the property.
      • _getType

        public com.vmware.vapi.bindings.type.StructType _getType()
        Specified by:
        _getType in interface com.vmware.vapi.bindings.StaticStructure
      • _getDataValue

        public com.vmware.vapi.data.StructValue _getDataValue()
        Specified by:
        _getDataValue in interface com.vmware.vapi.bindings.Structure
      • _updateDataValue

        protected void _updateDataValue​(com.vmware.vapi.data.StructValue structValue)
      • _validate

        public void _validate()
        Specified by:
        _validate in interface com.vmware.vapi.bindings.StaticStructure
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface com.vmware.vapi.bindings.StaticStructure
        Overrides:
        toString in class java.lang.Object
      • _hasTypeNameOf

        public boolean _hasTypeNameOf​(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
        Specified by:
        _hasTypeNameOf in interface com.vmware.vapi.bindings.Structure
      • _convertTo

        public <T extends com.vmware.vapi.bindings.Structure> T _convertTo​(java.lang.Class<T> clazz)
        Specified by:
        _convertTo in interface com.vmware.vapi.bindings.Structure
      • _setDynamicField

        public void _setDynamicField​(java.lang.String fieldName,
                                     com.vmware.vapi.data.DataValue fieldValue)
        Specified by:
        _setDynamicField in interface com.vmware.vapi.bindings.StaticStructure
      • _getDynamicField

        public com.vmware.vapi.data.DataValue _getDynamicField​(java.lang.String fieldName)
        Specified by:
        _getDynamicField in interface com.vmware.vapi.bindings.StaticStructure
      • _getDynamicFieldNames

        public java.util.Set<java.lang.String> _getDynamicFieldNames()
        Specified by:
        _getDynamicFieldNames in interface com.vmware.vapi.bindings.StaticStructure
      • _getClassType

        public static com.vmware.vapi.bindings.type.StructType _getClassType()
        WARNING: Internal method, subject to change in future versions.
        Returns:
        StructType instance representing the static bindings type for this Structure.
      • _getCanonicalName

        public java.lang.String _getCanonicalName()
        Specified by:
        _getCanonicalName in interface com.vmware.vapi.bindings.Structure
      • _getCanonicalTypeName

        public static java.lang.String _getCanonicalTypeName()
        Returns the canonical type name. See _getCanonicalName().
        Returns:
        canonical type name
      • _newInstance

        public 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.
        Parameters:
        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.
        Returns:
        the static bindings StructType
      • _newInstance2

        public static LBEdgeNodeUsage _newInstance2​(com.vmware.vapi.data.StructValue structValue)
        WARNING: Internal method, subject to change in future versions.
        Serves as a versioning mechanism.