public static interface AutoScalingConfiguration.Builder extends SdkPojo, CopyableBuilder<AutoScalingConfiguration.Builder,AutoScalingConfiguration>
| Modifier and Type | Method and Description |
|---|---|
AutoScalingConfiguration.Builder |
autoScalingMetric(AutoScalingMetric autoScalingMetric)
The metric your cluster will track in order to scale in and out.
|
AutoScalingConfiguration.Builder |
autoScalingMetric(String autoScalingMetric)
The metric your cluster will track in order to scale in and out.
|
AutoScalingConfiguration.Builder |
maxNodeCount(Integer maxNodeCount)
The highest number of nodes to scale.
|
AutoScalingConfiguration.Builder |
metricTarget(Double metricTarget)
The desired value of the chosen
autoScalingMetric. |
AutoScalingConfiguration.Builder |
minNodeCount(Integer minNodeCount)
The lowest number of nodes to scale.
|
AutoScalingConfiguration.Builder |
scaleInCooldownSeconds(Double scaleInCooldownSeconds)
The duration in seconds that FinSpace will wait after a scale in event before initiating another scaling
event.
|
AutoScalingConfiguration.Builder |
scaleOutCooldownSeconds(Double scaleOutCooldownSeconds)
The duration in seconds that FinSpace will wait after a scale out event before initiating another scaling
event.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAutoScalingConfiguration.Builder minNodeCount(Integer minNodeCount)
The lowest number of nodes to scale. This value must be at least 1 and less than the
maxNodeCount. If the nodes in a cluster belong to multiple availability zones, then
minNodeCount must be at least 3.
minNodeCount - The lowest number of nodes to scale. This value must be at least 1 and less than the
maxNodeCount. If the nodes in a cluster belong to multiple availability zones, then
minNodeCount must be at least 3.AutoScalingConfiguration.Builder maxNodeCount(Integer maxNodeCount)
The highest number of nodes to scale. This value cannot be greater than 5.
maxNodeCount - The highest number of nodes to scale. This value cannot be greater than 5.AutoScalingConfiguration.Builder autoScalingMetric(String autoScalingMetric)
The metric your cluster will track in order to scale in and out. For example,
CPU_UTILIZATION_PERCENTAGE is the average CPU usage across all the nodes in a cluster.
autoScalingMetric - The metric your cluster will track in order to scale in and out. For example,
CPU_UTILIZATION_PERCENTAGE is the average CPU usage across all the nodes in a cluster.AutoScalingMetric,
AutoScalingMetricAutoScalingConfiguration.Builder autoScalingMetric(AutoScalingMetric autoScalingMetric)
The metric your cluster will track in order to scale in and out. For example,
CPU_UTILIZATION_PERCENTAGE is the average CPU usage across all the nodes in a cluster.
autoScalingMetric - The metric your cluster will track in order to scale in and out. For example,
CPU_UTILIZATION_PERCENTAGE is the average CPU usage across all the nodes in a cluster.AutoScalingMetric,
AutoScalingMetricAutoScalingConfiguration.Builder metricTarget(Double metricTarget)
The desired value of the chosen autoScalingMetric. When the metric drops below this value, the
cluster will scale in. When the metric goes above this value, the cluster will scale out. You can set the
target value between 1 and 100 percent.
metricTarget - The desired value of the chosen autoScalingMetric. When the metric drops below this
value, the cluster will scale in. When the metric goes above this value, the cluster will scale out.
You can set the target value between 1 and 100 percent.AutoScalingConfiguration.Builder scaleInCooldownSeconds(Double scaleInCooldownSeconds)
The duration in seconds that FinSpace will wait after a scale in event before initiating another scaling event.
scaleInCooldownSeconds - The duration in seconds that FinSpace will wait after a scale in event before initiating another
scaling event.AutoScalingConfiguration.Builder scaleOutCooldownSeconds(Double scaleOutCooldownSeconds)
The duration in seconds that FinSpace will wait after a scale out event before initiating another scaling event.
scaleOutCooldownSeconds - The duration in seconds that FinSpace will wait after a scale out event before initiating another
scaling event.Copyright © 2023. All rights reserved.