Interface CloudwatchAlarmAction.Builder

  • Method Details

    • roleArn

      The IAM role that allows access to the CloudWatch alarm.

      Parameters:
      roleArn - The IAM role that allows access to the CloudWatch alarm.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alarmName

      CloudwatchAlarmAction.Builder alarmName(String alarmName)

      The CloudWatch alarm name.

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

      CloudwatchAlarmAction.Builder stateReason(String stateReason)

      The reason for the alarm change.

      Parameters:
      stateReason - The reason for the alarm change.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stateValue

      CloudwatchAlarmAction.Builder stateValue(String stateValue)

      The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.

      Parameters:
      stateValue - The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.
      Returns:
      Returns a reference to this object so that method calls can be chained together.