Class AutoScalingConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutoScalingConfiguration.Builder,AutoScalingConfiguration>
The configuration based on which FinSpace will scale in or scale out nodes in your cluster.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AutoScalingMetricThe metric your cluster will track in order to scale in and out.final StringThe metric your cluster will track in order to scale in and out.builder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe highest number of nodes to scale.final DoubleThe desired value of the chosenautoScalingMetric.final IntegerThe lowest number of nodes to scale.final DoubleThe duration in seconds that FinSpace will wait after a scale in event before initiating another scaling event.final DoubleThe duration in seconds that FinSpace will wait after a scale out event before initiating another scaling event.static Class<? extends AutoScalingConfiguration.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
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, thenminNodeCountmust be at least 3.- Returns:
- 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, thenminNodeCountmust be at least 3.
-
maxNodeCount
The highest number of nodes to scale. This value cannot be greater than 5.
- Returns:
- The highest number of nodes to scale. This value cannot be greater than 5.
-
autoScalingMetric
The metric your cluster will track in order to scale in and out. For example,
CPU_UTILIZATION_PERCENTAGEis 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,
autoScalingMetricwill returnAutoScalingMetric.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromautoScalingMetricAsString().- Returns:
- The metric your cluster will track in order to scale in and out. For example,
CPU_UTILIZATION_PERCENTAGEis the average CPU usage across all the nodes in a cluster. - See Also:
-
autoScalingMetricAsString
The metric your cluster will track in order to scale in and out. For example,
CPU_UTILIZATION_PERCENTAGEis 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,
autoScalingMetricwill returnAutoScalingMetric.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromautoScalingMetricAsString().- Returns:
- The metric your cluster will track in order to scale in and out. For example,
CPU_UTILIZATION_PERCENTAGEis the average CPU usage across all the nodes in a cluster. - 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.- Returns:
- 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.
-
scaleInCooldownSeconds
The duration in seconds that FinSpace will wait after a scale in event before initiating another scaling event.
- Returns:
- The duration in seconds that FinSpace will wait after a scale in 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.
- Returns:
- The duration in seconds that FinSpace will wait after a scale out event before initiating another scaling event.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AutoScalingConfiguration.Builder,AutoScalingConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-