CopyableBuilder<SetLoadBasedAutoScalingRequest.Builder,SetLoadBasedAutoScalingRequest>, SdkBuilder<SetLoadBasedAutoScalingRequest.Builder,SetLoadBasedAutoScalingRequest>public static interface SetLoadBasedAutoScalingRequest.Builder extends CopyableBuilder<SetLoadBasedAutoScalingRequest.Builder,SetLoadBasedAutoScalingRequest>
| Modifier and Type | Method | Description |
|---|---|---|
SetLoadBasedAutoScalingRequest.Builder |
downScaling(AutoScalingThresholds downScaling) |
An
AutoScalingThresholds object with the downscaling threshold configuration. |
SetLoadBasedAutoScalingRequest.Builder |
enable(Boolean enable) |
Enables load-based auto scaling for the layer.
|
SetLoadBasedAutoScalingRequest.Builder |
layerId(String layerId) |
The layer ID.
|
SetLoadBasedAutoScalingRequest.Builder |
upScaling(AutoScalingThresholds upScaling) |
An
AutoScalingThresholds object with the upscaling threshold configuration. |
copyapply, buildSetLoadBasedAutoScalingRequest.Builder layerId(String layerId)
The layer ID.
layerId - The layer ID.SetLoadBasedAutoScalingRequest.Builder enable(Boolean enable)
Enables load-based auto scaling for the layer.
enable - Enables load-based auto scaling for the layer.SetLoadBasedAutoScalingRequest.Builder upScaling(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.
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.SetLoadBasedAutoScalingRequest.Builder downScaling(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.
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.