Class LBServiceUsageSummary.Builder

    • Constructor Detail

      • Builder

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

      • setCurrentPoolCount

        public LBServiceUsageSummary.Builder setCurrentPoolCount​(java.lang.Long currentPoolCount)
        The current count of pools configured for all load balancer services. 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 LBServiceUsageSummary.Builder setCurrentPoolMemberCount​(java.lang.Long currentPoolMemberCount)
        The current count of pool members configured for all load balancer services. 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.
      • setCurrentVirtualServerCount

        public LBServiceUsageSummary.Builder setCurrentVirtualServerCount​(java.lang.Long currentVirtualServerCount)
        The current count of virtual servers configured for all load balancer services. 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.
      • setPoolCapacity

        public LBServiceUsageSummary.Builder setPoolCapacity​(java.lang.Long poolCapacity)
        Pool capacity means maximum number of pools which can be configured for all load balancer services. 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:
        poolCapacity - New value for the property.
      • setPoolMemberCapacity

        public LBServiceUsageSummary.Builder setPoolMemberCapacity​(java.lang.Long poolMemberCapacity)
        Pool capacity means maximum number of pool members which can be configured for all load balancer services. 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.
      • setPoolMemberUsagePercentage

        public LBServiceUsageSummary.Builder setPoolMemberUsagePercentage​(java.lang.Double poolMemberUsagePercentage)
        Overall pool member usage percentage for all load balancer services. 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:
        poolMemberUsagePercentage - New value for the property.
      • setPoolUsagePercentage

        public LBServiceUsageSummary.Builder setPoolUsagePercentage​(java.lang.Double poolUsagePercentage)
        Overall pool usage percentage for all load balancer services. 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:
        poolUsagePercentage - New value for the property.
      • setServiceCounts

        public LBServiceUsageSummary.Builder setServiceCounts​(java.util.List<LBServiceCountPerSeverity> serviceCounts)
        The service count for each load balancer usage 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:
        serviceCounts - New value for the property.
      • setServiceUsages

        public LBServiceUsageSummary.Builder setServiceUsages​(java.util.List<LBServiceUsage> serviceUsages)
        The property identifies all lb service 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:
        serviceUsages - New value for the property.
      • setVirtualServerCapacity

        public LBServiceUsageSummary.Builder setVirtualServerCapacity​(java.lang.Long virtualServerCapacity)
        Virtual server capacity means maximum number of virtual servers which can be configured for all load balancer services. 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:
        virtualServerCapacity - New value for the property.
      • setVirtualServerUsagePercentage

        public LBServiceUsageSummary.Builder setVirtualServerUsagePercentage​(java.lang.Double virtualServerUsagePercentage)
        Overall virtual server usage percentage for all load balancer services. 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:
        virtualServerUsagePercentage - New value for the property.