Class SubPool.Builder

  • Enclosing class:
    SubPool

    public static final class SubPool.Builder
    extends java.lang.Object
    Builder class for SubPool.
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()
      Constructor with parameters for the required properties of SubPool.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SubPool build()  
      SubPool.Builder setRemainingCreditNumber​(java.lang.Long remainingCreditNumber)
      Credits remaining on the sub-pool that can be used to deploy services of corresponding sub-pool type.
      SubPool.Builder setSubPoolType​(java.lang.String subPoolType)
      Type of the sub-pool configured on edge node.
      SubPool.Builder setUsagePercentage​(java.lang.Double usagePercentage)
      Percentage utlization of sub-pool based on the number of services configured and the hard limits, if any.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Builder

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

      • setRemainingCreditNumber

        public SubPool.Builder setRemainingCreditNumber​(java.lang.Long remainingCreditNumber)
        Credits remaining on the sub-pool that can be used to deploy services of corresponding sub-pool type. format: int32 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:
        remainingCreditNumber - New value for the property.
      • setSubPoolType

        public SubPool.Builder setSubPoolType​(java.lang.String subPoolType)
        Type of the sub-pool configured on 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:
        subPoolType - New value for the property.
      • setUsagePercentage

        public SubPool.Builder setUsagePercentage​(java.lang.Double usagePercentage)
        Percentage utlization of sub-pool based on the number of services configured and the hard limits, if any. 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.