public static interface AutoScalingPolicyStatus.Builder extends CopyableBuilder<AutoScalingPolicyStatus.Builder,AutoScalingPolicyStatus>
| Modifier and Type | Method and Description |
|---|---|
AutoScalingPolicyStatus.Builder |
state(AutoScalingPolicyState state)
Indicates the status of the automatic scaling policy.
|
AutoScalingPolicyStatus.Builder |
state(String state)
Indicates the status of the automatic scaling policy.
|
AutoScalingPolicyStatus.Builder |
stateChangeReason(AutoScalingPolicyStateChangeReason stateChangeReason)
The reason for a change in status.
|
default AutoScalingPolicyStatus.Builder |
stateChangeReason(Consumer<AutoScalingPolicyStateChangeReason.Builder> stateChangeReason)
The reason for a change in status.
|
copyapply, buildAutoScalingPolicyStatus.Builder state(String state)
Indicates the status of the automatic scaling policy.
state - Indicates the status of the automatic scaling policy.AutoScalingPolicyState,
AutoScalingPolicyStateAutoScalingPolicyStatus.Builder state(AutoScalingPolicyState state)
Indicates the status of the automatic scaling policy.
state - Indicates the status of the automatic scaling policy.AutoScalingPolicyState,
AutoScalingPolicyStateAutoScalingPolicyStatus.Builder stateChangeReason(AutoScalingPolicyStateChangeReason stateChangeReason)
The reason for a change in status.
stateChangeReason - The reason for a change in status.default AutoScalingPolicyStatus.Builder stateChangeReason(Consumer<AutoScalingPolicyStateChangeReason.Builder> stateChangeReason)
The reason for a change in status.
This is a convenience that creates an instance of theAutoScalingPolicyStateChangeReason.Builder
avoiding the need to create one manually via AutoScalingPolicyStateChangeReason.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to stateChangeReason(AutoScalingPolicyStateChangeReason).stateChangeReason - a consumer that will call methods on AutoScalingPolicyStateChangeReason.BuilderstateChangeReason(AutoScalingPolicyStateChangeReason)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.