Class PoolConfig.Builder

  • Enclosing class:
    PoolConfig

    public static class PoolConfig.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • shape

        public PoolConfig.Builder shape​(String shape)
        The compute shape of the resources you would like to provision.
        Parameters:
        shape - the value to set
        Returns:
        this builder
      • min

        public PoolConfig.Builder min​(Integer min)
        Minimum number of compute instances in the pool for a given compute shape.
        Parameters:
        min - the value to set
        Returns:
        this builder
      • max

        public PoolConfig.Builder max​(Integer max)
        Maximum number of compute instances in the pool for a given compute shape.
        Parameters:
        max - the value to set
        Returns:
        this builder