public static interface AutoScalingPolicyStatus.Builder extends SdkPojo, 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.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
AutoScalingPolicyStatus.Builder state(String state)
Indicates the status of the automatic scaling policy.
state
- Indicates the status of the automatic scaling policy.AutoScalingPolicyState
,
AutoScalingPolicyState
AutoScalingPolicyStatus.Builder state(AutoScalingPolicyState state)
Indicates the status of the automatic scaling policy.
state
- Indicates the status of the automatic scaling policy.AutoScalingPolicyState
,
AutoScalingPolicyState
AutoScalingPolicyStatus.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.Builder
stateChangeReason(AutoScalingPolicyStateChangeReason)
Copyright © 2021. All rights reserved.