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