@Generated(value="software.amazon.awssdk:codegen") public final class LoadBasedAutoScalingConfiguration extends Object implements StructuredPojo, ToCopyableBuilder<LoadBasedAutoScalingConfiguration.Builder,LoadBasedAutoScalingConfiguration>
Describes a layer's load-based auto scaling configuration.
Modifier and Type | Class and Description |
---|---|
static interface |
LoadBasedAutoScalingConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
static LoadBasedAutoScalingConfiguration.Builder |
builder() |
AutoScalingThresholds |
downScaling()
An
AutoScalingThresholds object that describes the downscaling configuration, which defines how and
when AWS OpsWorks Stacks reduces the number of instances. |
Boolean |
enable()
Whether load-based auto scaling is enabled for the layer.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
layerId()
The layer ID.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends LoadBasedAutoScalingConfiguration.Builder> |
serializableBuilderClass() |
LoadBasedAutoScalingConfiguration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
AutoScalingThresholds |
upScaling()
An
AutoScalingThresholds object that describes the upscaling configuration, which defines how and
when AWS OpsWorks Stacks increases the number of instances. |
copy
public String layerId()
The layer ID.
public Boolean enable()
Whether load-based auto scaling is enabled for the layer.
public AutoScalingThresholds upScaling()
An AutoScalingThresholds
object that describes the upscaling configuration, which defines how and
when AWS OpsWorks Stacks increases the number of instances.
AutoScalingThresholds
object that describes the upscaling configuration, which defines
how and when AWS OpsWorks Stacks increases the number of instances.public AutoScalingThresholds downScaling()
An AutoScalingThresholds
object that describes the downscaling configuration, which defines how and
when AWS OpsWorks Stacks reduces the number of instances.
AutoScalingThresholds
object that describes the downscaling configuration, which defines
how and when AWS OpsWorks Stacks reduces the number of instances.public LoadBasedAutoScalingConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LoadBasedAutoScalingConfiguration.Builder,LoadBasedAutoScalingConfiguration>
public static LoadBasedAutoScalingConfiguration.Builder builder()
public static Class<? extends LoadBasedAutoScalingConfiguration.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.