Cloneable
, ReadLimitInfo
, ToCopyableBuilder<SetLoadBasedAutoScalingRequest.Builder,SetLoadBasedAutoScalingRequest>
@Generated("software.amazon.awssdk:codegen") public class SetLoadBasedAutoScalingRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<SetLoadBasedAutoScalingRequest.Builder,SetLoadBasedAutoScalingRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
SetLoadBasedAutoScalingRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static SetLoadBasedAutoScalingRequest.Builder |
builder() |
|
AutoScalingThresholds |
downScaling() |
An
AutoScalingThresholds object with the downscaling threshold configuration. |
Boolean |
enable() |
Enables load-based auto scaling for the layer.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
layerId() |
The layer ID.
|
static Class<? extends SetLoadBasedAutoScalingRequest.Builder> |
serializableBuilderClass() |
|
SetLoadBasedAutoScalingRequest.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 with the upscaling threshold configuration. |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String layerId()
The layer ID.
public Boolean enable()
Enables load-based auto scaling for the layer.
public AutoScalingThresholds upScaling()
An AutoScalingThresholds
object with the upscaling threshold configuration. If the load exceeds
these thresholds for a specified amount of time, AWS OpsWorks Stacks starts a specified number of instances.
AutoScalingThresholds
object with the upscaling threshold configuration. If the load
exceeds these thresholds for a specified amount of time, AWS OpsWorks Stacks starts a specified number of
instances.public AutoScalingThresholds downScaling()
An AutoScalingThresholds
object with the downscaling threshold configuration. If the load falls
below these thresholds for a specified amount of time, AWS OpsWorks Stacks stops a specified number of instances.
AutoScalingThresholds
object with the downscaling threshold configuration. If the load
falls below these thresholds for a specified amount of time, AWS OpsWorks Stacks stops a specified number
of instances.public SetLoadBasedAutoScalingRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SetLoadBasedAutoScalingRequest.Builder,SetLoadBasedAutoScalingRequest>
public static SetLoadBasedAutoScalingRequest.Builder builder()
public static Class<? extends SetLoadBasedAutoScalingRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.