CopyableBuilder<AutoScalingPolicyStateChangeReason.Builder,AutoScalingPolicyStateChangeReason>, SdkBuilder<AutoScalingPolicyStateChangeReason.Builder,AutoScalingPolicyStateChangeReason>public static interface AutoScalingPolicyStateChangeReason.Builder extends CopyableBuilder<AutoScalingPolicyStateChangeReason.Builder,AutoScalingPolicyStateChangeReason>
| Modifier and Type | Method | Description |
|---|---|---|
AutoScalingPolicyStateChangeReason.Builder |
code(String code) |
The code indicating the reason for the change in status.
USER_REQUEST indicates that the scaling
policy status was changed by a user. |
AutoScalingPolicyStateChangeReason.Builder |
code(AutoScalingPolicyStateChangeReasonCode code) |
The code indicating the reason for the change in status.
USER_REQUEST indicates that the scaling
policy status was changed by a user. |
AutoScalingPolicyStateChangeReason.Builder |
message(String message) |
A friendly, more verbose message that accompanies an automatic scaling policy state change.
|
copyapply, buildAutoScalingPolicyStateChangeReason.Builder code(String code)
The code indicating the reason for the change in status.USER_REQUEST indicates that the scaling
policy status was changed by a user. PROVISION_FAILURE indicates that the status change was
because the policy failed to provision. CLEANUP_FAILURE indicates an error.
code - The code indicating the reason for the change in status.USER_REQUEST indicates that the
scaling policy status was changed by a user. PROVISION_FAILURE indicates that the status
change was because the policy failed to provision. CLEANUP_FAILURE indicates an error.AutoScalingPolicyStateChangeReasonCodeAutoScalingPolicyStateChangeReason.Builder code(AutoScalingPolicyStateChangeReasonCode code)
The code indicating the reason for the change in status.USER_REQUEST indicates that the scaling
policy status was changed by a user. PROVISION_FAILURE indicates that the status change was
because the policy failed to provision. CLEANUP_FAILURE indicates an error.
code - The code indicating the reason for the change in status.USER_REQUEST indicates that the
scaling policy status was changed by a user. PROVISION_FAILURE indicates that the status
change was because the policy failed to provision. CLEANUP_FAILURE indicates an error.AutoScalingPolicyStateChangeReasonCodeAutoScalingPolicyStateChangeReason.Builder message(String message)
A friendly, more verbose message that accompanies an automatic scaling policy state change.
message - A friendly, more verbose message that accompanies an automatic scaling policy state change.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.