Package com.oracle.bmc.bds.model
Class MetricBasedVerticalScaleUpConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.bds.model.MetricBasedVerticalScaleUpConfig.Builder
-
- Enclosing class:
- MetricBasedVerticalScaleUpConfig
public static class MetricBasedVerticalScaleUpConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
metric
public MetricBasedVerticalScaleUpConfig.Builder metric(AutoScalePolicyMetricRule metric)
-
maxOcpusPerNode
public MetricBasedVerticalScaleUpConfig.Builder maxOcpusPerNode(Integer maxOcpusPerNode)
For nodes with flexible compute shapes, this value is the maximum number of OCPUs each node can be scaled-up to.This value is not used for nodes with fixed compute shapes.
- Parameters:
maxOcpusPerNode
- the value to set- Returns:
- this builder
-
maxMemoryPerNode
public MetricBasedVerticalScaleUpConfig.Builder maxMemoryPerNode(Integer maxMemoryPerNode)
For nodes with flexible compute shapes, this value is the maximum memory in GBs each node can be scaled-up to.This value is not used for nodes with fixed compute shapes.
- Parameters:
maxMemoryPerNode
- the value to set- Returns:
- this builder
-
ocpuStepSize
public MetricBasedVerticalScaleUpConfig.Builder ocpuStepSize(Integer ocpuStepSize)
For nodes with flexible compute shapes, this value is the number of OCPUs to add to each node during a scale-up event.This value is not used for nodes with fixed compute shapes.
- Parameters:
ocpuStepSize
- the value to set- Returns:
- this builder
-
memoryStepSize
public MetricBasedVerticalScaleUpConfig.Builder memoryStepSize(Integer memoryStepSize)
For nodes with flexible compute shapes, this value is the size of memory in GBs to add to each node during a scale-up event.This value is not used for nodes with fixed compute shapes.
- Parameters:
memoryStepSize
- the value to set- Returns:
- this builder
-
build
public MetricBasedVerticalScaleUpConfig build()
-
copy
public MetricBasedVerticalScaleUpConfig.Builder copy(MetricBasedVerticalScaleUpConfig model)
-
-