@Generated(value="software.amazon.awssdk:codegen") public final class AutoScalingConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutoScalingConfiguration.Builder,AutoScalingConfiguration>
The configuration based on which FinSpace will scale in or scale out nodes in your cluster.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AutoScalingConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
AutoScalingMetric |
autoScalingMetric()
The metric your cluster will track in order to scale in and out.
|
String |
autoScalingMetricAsString()
The metric your cluster will track in order to scale in and out.
|
static AutoScalingConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxNodeCount()
The highest number of nodes to scale.
|
Double |
metricTarget()
The desired value of the chosen
autoScalingMetric. |
Integer |
minNodeCount()
The lowest number of nodes to scale.
|
Double |
scaleInCooldownSeconds()
The duration in seconds that FinSpace will wait after a scale in event before initiating another scaling event.
|
Double |
scaleOutCooldownSeconds()
The duration in seconds that FinSpace will wait after a scale out event before initiating another scaling event.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AutoScalingConfiguration.Builder> |
serializableBuilderClass() |
AutoScalingConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
maxNodeCount. If the nodes in a cluster belong to multiple availability zones, then
minNodeCount must be at least 3.public final Integer maxNodeCount()
The highest number of nodes to scale. This value cannot be greater than 5.
public final 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.
If the service returns an enum value that is not available in the current SDK version, autoScalingMetric
will return AutoScalingMetric.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from autoScalingMetricAsString().
CPU_UTILIZATION_PERCENTAGE is the average CPU usage across all the nodes in a cluster.AutoScalingMetricpublic final String autoScalingMetricAsString()
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.
If the service returns an enum value that is not available in the current SDK version, autoScalingMetric
will return AutoScalingMetric.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from autoScalingMetricAsString().
CPU_UTILIZATION_PERCENTAGE is the average CPU usage across all the nodes in a cluster.AutoScalingMetricpublic final 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.
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.public final Double scaleInCooldownSeconds()
The duration in seconds that FinSpace will wait after a scale in event before initiating another scaling event.
public final Double scaleOutCooldownSeconds()
The duration in seconds that FinSpace will wait after a scale out event before initiating another scaling event.
public AutoScalingConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AutoScalingConfiguration.Builder,AutoScalingConfiguration>public static AutoScalingConfiguration.Builder builder()
public static Class<? extends AutoScalingConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.