public static class MetricBasedHorizontalScaleInConfig.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MetricBasedHorizontalScaleInConfig |
build() |
MetricBasedHorizontalScaleInConfig.Builder |
copy(MetricBasedHorizontalScaleInConfig model) |
MetricBasedHorizontalScaleInConfig.Builder |
metric(AutoScalePolicyMetricRule metric) |
MetricBasedHorizontalScaleInConfig.Builder |
minNodeCount(Integer minNodeCount)
This value is the minimum number of nodes the cluster can be scaled-in to.
|
MetricBasedHorizontalScaleInConfig.Builder |
stepSize(Integer stepSize)
This value is the number of nodes to remove during a scale-in event.
|
public MetricBasedHorizontalScaleInConfig.Builder metric(AutoScalePolicyMetricRule metric)
public MetricBasedHorizontalScaleInConfig.Builder minNodeCount(Integer minNodeCount)
This value is the minimum number of nodes the cluster can be scaled-in to.
minNodeCount
- the value to setpublic MetricBasedHorizontalScaleInConfig.Builder stepSize(Integer stepSize)
This value is the number of nodes to remove during a scale-in event.
stepSize
- the value to setpublic MetricBasedHorizontalScaleInConfig build()
public MetricBasedHorizontalScaleInConfig.Builder copy(MetricBasedHorizontalScaleInConfig model)
Copyright © 2016–2024. All rights reserved.