Class CloudwatchAlarmAction

    • Method Detail

      • roleArn

        public final String roleArn()

        The IAM role that allows access to the CloudWatch alarm.

        Returns:
        The IAM role that allows access to the CloudWatch alarm.
      • alarmName

        public final String alarmName()

        The CloudWatch alarm name.

        Returns:
        The CloudWatch alarm name.
      • stateReason

        public final String stateReason()

        The reason for the alarm change.

        Returns:
        The reason for the alarm change.
      • stateValue

        public final String stateValue()

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

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

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)