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)
Add an optional request override configuration.
|
TestAlarmRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
TestAlarmRequest.Builder |
state(AlarmState state)
The alarm state to test.
|
TestAlarmRequest.Builder |
state(String state)
The alarm state to test.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
TestAlarmRequest.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
,
AlarmState
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.
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
,
AlarmState
TestAlarmRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.TestAlarmRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.