Interface AutoScalingPolicyStateChangeReason.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutoScalingPolicyStateChangeReason.Builder,AutoScalingPolicyStateChangeReason>,SdkBuilder<AutoScalingPolicyStateChangeReason.Builder,AutoScalingPolicyStateChangeReason>,SdkPojo
- Enclosing class:
- AutoScalingPolicyStateChangeReason
public static interface AutoScalingPolicyStateChangeReason.Builder extends SdkPojo, CopyableBuilder<AutoScalingPolicyStateChangeReason.Builder,AutoScalingPolicyStateChangeReason>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutoScalingPolicyStateChangeReason.Buildercode(String code)The code indicating the reason for the change in status.USER_REQUESTindicates that the scaling policy status was changed by a user.AutoScalingPolicyStateChangeReason.Buildercode(AutoScalingPolicyStateChangeReasonCode code)The code indicating the reason for the change in status.USER_REQUESTindicates that the scaling policy status was changed by a user.AutoScalingPolicyStateChangeReason.Buildermessage(String message)A friendly, more verbose message that accompanies an automatic scaling policy state change.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
code
AutoScalingPolicyStateChangeReason.Builder code(String code)
The code indicating the reason for the change in status.
USER_REQUESTindicates that the scaling policy status was changed by a user.PROVISION_FAILUREindicates that the status change was because the policy failed to provision.CLEANUP_FAILUREindicates an error.- Parameters:
code- The code indicating the reason for the change in status.USER_REQUESTindicates that the scaling policy status was changed by a user.PROVISION_FAILUREindicates that the status change was because the policy failed to provision.CLEANUP_FAILUREindicates an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutoScalingPolicyStateChangeReasonCode,AutoScalingPolicyStateChangeReasonCode
-
code
AutoScalingPolicyStateChangeReason.Builder code(AutoScalingPolicyStateChangeReasonCode code)
The code indicating the reason for the change in status.
USER_REQUESTindicates that the scaling policy status was changed by a user.PROVISION_FAILUREindicates that the status change was because the policy failed to provision.CLEANUP_FAILUREindicates an error.- Parameters:
code- The code indicating the reason for the change in status.USER_REQUESTindicates that the scaling policy status was changed by a user.PROVISION_FAILUREindicates that the status change was because the policy failed to provision.CLEANUP_FAILUREindicates an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutoScalingPolicyStateChangeReasonCode,AutoScalingPolicyStateChangeReasonCode
-
message
AutoScalingPolicyStateChangeReason.Builder message(String message)
A friendly, more verbose message that accompanies an automatic scaling policy state change.
- Parameters:
message- A friendly, more verbose message that accompanies an automatic scaling policy state change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-