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 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)
-
-
-
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)
-
-