Interface TestAlarmRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<TestAlarmRequest.Builder,TestAlarmRequest>, LightsailRequest.Builder, SdkBuilder<TestAlarmRequest.Builder,TestAlarmRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
TestAlarmRequest

public static interface TestAlarmRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<TestAlarmRequest.Builder,TestAlarmRequest>
  • Method Details

    • 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

      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:
    • 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:
    • overrideConfiguration

      TestAlarmRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.