Class LoadBasedAutoScalingConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.opsworks.model.LoadBasedAutoScalingConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LoadBasedAutoScalingConfiguration.Builder,LoadBasedAutoScalingConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class LoadBasedAutoScalingConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LoadBasedAutoScalingConfiguration.Builder,LoadBasedAutoScalingConfiguration>
Describes a layer's load-based auto scaling configuration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLoadBasedAutoScalingConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoadBasedAutoScalingConfiguration.Builderbuilder()AutoScalingThresholdsdownScaling()AnAutoScalingThresholdsobject that describes the downscaling configuration, which defines how and when AWS OpsWorks Stacks reduces the number of instances.Booleanenable()Whether load-based auto scaling is enabled for the layer.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlayerId()The layer ID.List<SdkField<?>>sdkFields()static Class<? extends LoadBasedAutoScalingConfiguration.Builder>serializableBuilderClass()LoadBasedAutoScalingConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.AutoScalingThresholdsupScaling()AnAutoScalingThresholdsobject that describes the upscaling configuration, which defines how and when AWS OpsWorks Stacks increases the number of instances.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
layerId
public final String layerId()
The layer ID.
- Returns:
- The layer ID.
-
enable
public final Boolean enable()
Whether load-based auto scaling is enabled for the layer.
- Returns:
- Whether load-based auto scaling is enabled for the layer.
-
upScaling
public final AutoScalingThresholds upScaling()
An
AutoScalingThresholdsobject that describes the upscaling configuration, which defines how and when AWS OpsWorks Stacks increases the number of instances.- Returns:
- An
AutoScalingThresholdsobject that describes the upscaling configuration, which defines how and when AWS OpsWorks Stacks increases the number of instances.
-
downScaling
public final AutoScalingThresholds downScaling()
An
AutoScalingThresholdsobject that describes the downscaling configuration, which defines how and when AWS OpsWorks Stacks reduces the number of instances.- Returns:
- An
AutoScalingThresholdsobject that describes the downscaling configuration, which defines how and when AWS OpsWorks Stacks reduces the number of instances.
-
toBuilder
public LoadBasedAutoScalingConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LoadBasedAutoScalingConfiguration.Builder,LoadBasedAutoScalingConfiguration>
-
builder
public static LoadBasedAutoScalingConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends LoadBasedAutoScalingConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-