Class LBNodeUsageSummary.Builder

    • Constructor Detail

      • Builder

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

      • setEnforcementPointPath

        public LBNodeUsageSummary.Builder setEnforcementPointPath​(java.lang.String enforcementPointPath)
        Policy Path referencing the enforcement point where the info is fetched. 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:
        enforcementPointPath - New value for the property.
      • setCurrentLoadBalancerCredits

        public LBNodeUsageSummary.Builder setCurrentLoadBalancerCredits​(java.lang.Long currentLoadBalancerCredits)
        Current load balancer credits in use for all nodes. For example, configuring a medium load balancer on a node consumes 10 credits. If there are 2 medium instances configured, the current load balancer 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.
      • setCurrentPoolMemberCount

        public LBNodeUsageSummary.Builder setCurrentPoolMemberCount​(java.lang.Long currentPoolMemberCount)
        The overall count of pool members configured on all nodes. 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.
      • setLoadBalancerCreditCapacity

        public LBNodeUsageSummary.Builder setLoadBalancerCreditCapacity​(java.lang.Long loadBalancerCreditCapacity)
        The load balancer credit capacity means the maximum credits which can be used for load balancer service configuration for all nodes. 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.
      • setNodeCounts

        public LBNodeUsageSummary.Builder setNodeCounts​(java.util.List<LBNodeCountPerSeverity> nodeCounts)
        The property identifies array of node count for each severity. 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:
        nodeCounts - New value for the property.
      • setNodeUsages

        public LBNodeUsageSummary.Builder setNodeUsages​(java.util.List<com.vmware.vapi.bindings.Structure> nodeUsages)
        The property identifies all LB node usages. By default, it is not included in response. It exists when parameter ?include_usages=true. 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:
        nodeUsages - New value for the property. When clients pass a value of this class as a parameter, the property must contain all the properties defined in LBNodeUsage. When methods return a value of this class as a return value, the property will contain all the properties defined in LBNodeUsage.
      • setPoolMemberCapacity

        public LBNodeUsageSummary.Builder setPoolMemberCapacity​(java.lang.Long poolMemberCapacity)
        Pool member capacity means maximum number of pool members which can be configured on all nodes. 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.
      • setUsagePercentage

        public LBNodeUsageSummary.Builder setUsagePercentage​(java.lang.Double usagePercentage)
        The overall usage percentage of all nodes for load balancer. The value is the larger value between overall pool member usage percentage and overall load balancer credit usage percentage. 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.