Interface AutoScalingPolicyStateChangeReason.Builder

    • Method Detail

      • code

        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. PROVISION_FAILURE indicates that the status change was because the policy failed to provision. CLEANUP_FAILURE indicates an error.

        Parameters:
        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.
        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_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.

        Parameters:
        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.
        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.