public static class MetricBasedVerticalScaleUpConfig.Builder extends Object
Constructor and Description |
---|
Builder() |
public MetricBasedVerticalScaleUpConfig.Builder metric(AutoScalePolicyMetricRule metric)
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.
maxOcpusPerNode
- the value to setpublic 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.
maxMemoryPerNode
- the value to setpublic 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.
ocpuStepSize
- the value to setpublic 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.
memoryStepSize
- the value to setpublic MetricBasedVerticalScaleUpConfig build()
public MetricBasedVerticalScaleUpConfig.Builder copy(MetricBasedVerticalScaleUpConfig model)
Copyright © 2016–2024. All rights reserved.