Class LBEdgeNodeUsage.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of LBEdgeNodeUsage.
    • Method Detail

      • setCurrentLargeLoadBalancerCount

        public LBEdgeNodeUsage.Builder 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.
      • setCurrentLoadBalancerCredits

        public LBEdgeNodeUsage.Builder 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.
      • setCurrentMediumLoadBalancerCount

        public LBEdgeNodeUsage.Builder 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.
      • setCurrentPoolCount

        public LBEdgeNodeUsage.Builder 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.
      • setCurrentPoolMemberCount

        public LBEdgeNodeUsage.Builder 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.
      • setCurrentSmallLoadBalancerCount

        public LBEdgeNodeUsage.Builder 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.
      • setCurrentVirtualServerCount

        public LBEdgeNodeUsage.Builder 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.
      • setCurrentXlargeLoadBalancerCount

        public LBEdgeNodeUsage.Builder 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.
      • setEdgeClusterPath

        public LBEdgeNodeUsage.Builder 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.
      • setLoadBalancerCreditCapacity

        public LBEdgeNodeUsage.Builder 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.
      • setPoolMemberCapacity

        public LBEdgeNodeUsage.Builder 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.
      • setRemainingLargeLoadBalancerCount

        public LBEdgeNodeUsage.Builder 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.
      • setRemainingMediumLoadBalancerCount

        public LBEdgeNodeUsage.Builder 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.
      • setRemainingSmallLoadBalancerCount

        public LBEdgeNodeUsage.Builder 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.
      • setRemainingXlargeLoadBalancerCount

        public LBEdgeNodeUsage.Builder 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.
      • setUsagePercentage

        public LBEdgeNodeUsage.Builder 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.
      • setNodePath

        public LBEdgeNodeUsage.Builder 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.