Interface AlarmStateChangeDetail.Builder

  • Method Details

    • state

      The state the alarm transitioned to.

      Parameters:
      state - The state the alarm transitioned to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state the alarm transitioned to.

      Parameters:
      state - The state the alarm transitioned to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • previousState

      AlarmStateChangeDetail.Builder previousState(String previousState)

      The state the alarm transitioned from. Absent on the initial event, which records the alarm's state when collection began.

      Parameters:
      previousState - The state the alarm transitioned from. Absent on the initial event, which records the alarm's state when collection began.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • previousState

      AlarmStateChangeDetail.Builder previousState(AlarmState previousState)

      The state the alarm transitioned from. Absent on the initial event, which records the alarm's state when collection began.

      Parameters:
      previousState - The state the alarm transitioned from. Absent on the initial event, which records the alarm's state when collection began.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • reason

      A human-readable explanation of the state change, as reported by CloudWatch.

      Parameters:
      reason - A human-readable explanation of the state change, as reported by CloudWatch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.