Interface TestAlarmRequest.Builder

    • Method Detail

      • alarmName

        TestAlarmRequest.Builder alarmName​(String alarmName)

        The name of the alarm to test.

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

        TestAlarmRequest.Builder state​(String state)

        The alarm state to test.

        An alarm has the following possible states that can be tested:

        • ALARM - The metric is outside of the defined threshold.

        • INSUFFICIENT_DATA - The alarm has just started, the metric is not available, or not enough data is available for the metric to determine the alarm state.

        • OK - The metric is within the defined threshold.

        Parameters:
        state - The alarm state to test.

        An alarm has the following possible states that can be tested:

        • ALARM - The metric is outside of the defined threshold.

        • INSUFFICIENT_DATA - The alarm has just started, the metric is not available, or not enough data is available for the metric to determine the alarm state.

        • OK - The metric is within the defined threshold.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AlarmState, AlarmState
      • state

        TestAlarmRequest.Builder state​(AlarmState state)

        The alarm state to test.

        An alarm has the following possible states that can be tested:

        • ALARM - The metric is outside of the defined threshold.

        • INSUFFICIENT_DATA - The alarm has just started, the metric is not available, or not enough data is available for the metric to determine the alarm state.

        • OK - The metric is within the defined threshold.

        Parameters:
        state - The alarm state to test.

        An alarm has the following possible states that can be tested:

        • ALARM - The metric is outside of the defined threshold.

        • INSUFFICIENT_DATA - The alarm has just started, the metric is not available, or not enough data is available for the metric to determine the alarm state.

        • OK - The metric is within the defined threshold.

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