Interface AutoScalingPolicyStatus.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<AutoScalingPolicyStatus.Builder,,AutoScalingPolicyStatus> SdkBuilder<AutoScalingPolicyStatus.Builder,,AutoScalingPolicyStatus> SdkPojo
- Enclosing class:
 AutoScalingPolicyStatus
public static interface AutoScalingPolicyStatus.Builder
extends SdkPojo, CopyableBuilder<AutoScalingPolicyStatus.Builder,AutoScalingPolicyStatus> 
- 
Method Summary
Modifier and TypeMethodDescriptionIndicates the status of the automatic scaling policy.state(AutoScalingPolicyState state) Indicates the status of the automatic scaling policy.default AutoScalingPolicyStatus.BuilderstateChangeReason(Consumer<AutoScalingPolicyStateChangeReason.Builder> stateChangeReason) The reason for a change in status.stateChangeReason(AutoScalingPolicyStateChangeReason stateChangeReason) The reason for a change in status.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
Method Details
- 
state
Indicates the status of the automatic scaling policy.
- Parameters:
 state- Indicates the status of the automatic scaling policy.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
state
Indicates the status of the automatic scaling policy.
- Parameters:
 state- Indicates the status of the automatic scaling policy.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
stateChangeReason
AutoScalingPolicyStatus.Builder stateChangeReason(AutoScalingPolicyStateChangeReason stateChangeReason) The reason for a change in status.
- Parameters:
 stateChangeReason- The reason for a change in status.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
stateChangeReason
default AutoScalingPolicyStatus.Builder stateChangeReason(Consumer<AutoScalingPolicyStateChangeReason.Builder> stateChangeReason) The reason for a change in status.
This is a convenience method that creates an instance of theAutoScalingPolicyStateChangeReason.Builderavoiding the need to create one manually viaAutoScalingPolicyStateChangeReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostateChangeReason(AutoScalingPolicyStateChangeReason).- Parameters:
 stateChangeReason- a consumer that will call methods onAutoScalingPolicyStateChangeReason.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -