Interface AutoScalingConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutoScalingConfiguration.Builder,
,AutoScalingConfiguration> SdkBuilder<AutoScalingConfiguration.Builder,
,AutoScalingConfiguration> SdkPojo
- Enclosing class:
AutoScalingConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionautoScalingMetric
(String autoScalingMetric) The metric your cluster will track in order to scale in and out.autoScalingMetric
(AutoScalingMetric autoScalingMetric) The metric your cluster will track in order to scale in and out.maxNodeCount
(Integer maxNodeCount) The highest number of nodes to scale.metricTarget
(Double metricTarget) The desired value of the chosenautoScalingMetric
.minNodeCount
(Integer minNodeCount) The lowest number of nodes to scale.scaleInCooldownSeconds
(Double scaleInCooldownSeconds) The duration in seconds that FinSpace will wait after a scale in event before initiating another scaling event.scaleOutCooldownSeconds
(Double scaleOutCooldownSeconds) The duration in seconds that FinSpace will wait after a scale out event before initiating another scaling event.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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, thenminNodeCount
must be at least 3.- Parameters:
minNodeCount
- The lowest number of nodes to scale. This value must be at least 1 and less than themaxNodeCount
. If the nodes in a cluster belong to multiple availability zones, thenminNodeCount
must be at least 3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxNodeCount
The highest number of nodes to scale. This value cannot be greater than 5.
- Parameters:
maxNodeCount
- The highest number of nodes to scale. This value cannot be greater than 5.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
metricTarget
- The desired value of the chosenautoScalingMetric
. 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scaleInCooldownSeconds
The duration in seconds that FinSpace will wait after a scale in event before initiating another scaling event.
- Parameters:
scaleInCooldownSeconds
- The duration in seconds that FinSpace will wait after a scale in event before initiating another scaling event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scaleOutCooldownSeconds
The duration in seconds that FinSpace will wait after a scale out event before initiating another scaling event.
- Parameters:
scaleOutCooldownSeconds
- The duration in seconds that FinSpace will wait after a scale out event before initiating another scaling event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-