Interface SetAlarmStateRequest.Builder

    • Method Detail

      • alarmName

        SetAlarmStateRequest.Builder alarmName​(String alarmName)

        The name of the alarm.

        Parameters:
        alarmName - The name of the alarm.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stateValue

        SetAlarmStateRequest.Builder stateValue​(String stateValue)

        The value of the state.

        Parameters:
        stateValue - The value of the state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StateValue, StateValue
      • stateReason

        SetAlarmStateRequest.Builder stateReason​(String stateReason)

        The reason that this alarm is set to this specific state, in text format.

        Parameters:
        stateReason - The reason that this alarm is set to this specific state, in text format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stateReasonData

        SetAlarmStateRequest.Builder stateReasonData​(String stateReasonData)

        The reason that this alarm is set to this specific state, in JSON format.

        For SNS or EC2 alarm actions, this is just informational. But for EC2 Auto Scaling or application Auto Scaling alarm actions, the Auto Scaling policy uses the information in this field to take the correct action.

        Parameters:
        stateReasonData - The reason that this alarm is set to this specific state, in JSON format.

        For SNS or EC2 alarm actions, this is just informational. But for EC2 Auto Scaling or application Auto Scaling alarm actions, the Auto Scaling policy uses the information in this field to take the correct action.

        Returns:
        Returns a reference to this object so that method calls can be chained together.