public static interface TestAlarmRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<TestAlarmRequest.Builder,TestAlarmRequest>
| Modifier and Type | Method and Description |
|---|---|
TestAlarmRequest.Builder |
alarmName(String alarmName)
The name of the alarm to test.
|
TestAlarmRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
TestAlarmRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
TestAlarmRequest.Builder |
state(AlarmState state)
The alarm state to test.
|
TestAlarmRequest.Builder |
state(String state)
The alarm state to test.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildTestAlarmRequest.Builder alarmName(String alarmName)
The name of the alarm to test.
alarmName - The name of the alarm to test.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.
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.
AlarmState,
AlarmStateTestAlarmRequest.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.
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.
AlarmState,
AlarmStateTestAlarmRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderTestAlarmRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.