public static class PoolConfig.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PoolConfig |
build() |
PoolConfig.Builder |
copy(PoolConfig model) |
PoolConfig.Builder |
max(Integer max)
Maximum number of compute instances in the pool for a given compute shape.
|
PoolConfig.Builder |
min(Integer min)
Minimum number of compute instances in the pool for a given compute shape.
|
PoolConfig.Builder |
shape(String shape)
The compute shape of the resources you would like to provision.
|
PoolConfig.Builder |
shapeConfig(ShapeConfig shapeConfig) |
public PoolConfig.Builder shape(String shape)
The compute shape of the resources you would like to provision.
shape
- the value to setpublic PoolConfig.Builder shapeConfig(ShapeConfig shapeConfig)
public PoolConfig.Builder min(Integer min)
Minimum number of compute instances in the pool for a given compute shape.
min
- the value to setpublic PoolConfig.Builder max(Integer max)
Maximum number of compute instances in the pool for a given compute shape.
max
- the value to setpublic PoolConfig build()
public PoolConfig.Builder copy(PoolConfig model)
Copyright © 2016–2024. All rights reserved.