StructuredPojo, ToCopyableBuilder<LoadBasedAutoScalingConfiguration.Builder,LoadBasedAutoScalingConfiguration>@Generated("software.amazon.awssdk:codegen") public class LoadBasedAutoScalingConfiguration extends Object implements StructuredPojo, ToCopyableBuilder<LoadBasedAutoScalingConfiguration.Builder,LoadBasedAutoScalingConfiguration>
Describes a layer's load-based auto scaling configuration.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
LoadBasedAutoScalingConfiguration.Builder |
| Modifier and Type | Method | 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) |
|
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. |
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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<LoadBasedAutoScalingConfiguration.Builder,LoadBasedAutoScalingConfiguration>public static LoadBasedAutoScalingConfiguration.Builder builder()
public static Class<? extends LoadBasedAutoScalingConfiguration.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.