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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TestAlarmRequest.BuilderalarmName(String alarmName)The name of the alarm to test.TestAlarmRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)TestAlarmRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)TestAlarmRequest.Builderstate(String state)The alarm state to test.TestAlarmRequest.Builderstate(AlarmState state)The alarm state to test.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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
-
-
overrideConfiguration
TestAlarmRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
TestAlarmRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-