Package com.oracle.bmc.dataflow.model
Class PoolConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.dataflow.model.PoolConfig.Builder
-
- Enclosing class:
- PoolConfig
public static class PoolConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PoolConfigbuild()PoolConfig.Buildercopy(PoolConfig model)PoolConfig.Buildermax(Integer max)Maximum number of compute instances in the pool for a given compute shape.PoolConfig.Buildermin(Integer min)Minimum number of compute instances in the pool for a given compute shape.PoolConfig.Buildershape(String shape)The compute shape of the resources you would like to provision.PoolConfig.BuildershapeConfig(ShapeConfig shapeConfig)
-
-
-
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
-
shapeConfig
public PoolConfig.Builder shapeConfig(ShapeConfig shapeConfig)
-
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
-
build
public PoolConfig build()
-
copy
public PoolConfig.Builder copy(PoolConfig model)
-
-