public static interface SetAlarmStateRequest.Builder extends CloudWatchRequest.Builder, SdkPojo, CopyableBuilder<SetAlarmStateRequest.Builder,SetAlarmStateRequest>
| Modifier and Type | Method and Description |
|---|---|
SetAlarmStateRequest.Builder |
alarmName(String alarmName)
The name of the alarm.
|
SetAlarmStateRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
SetAlarmStateRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
SetAlarmStateRequest.Builder |
stateReason(String stateReason)
The reason that this alarm is set to this specific state, in text format.
|
SetAlarmStateRequest.Builder |
stateReasonData(String stateReasonData)
The reason that this alarm is set to this specific state, in JSON format.
|
SetAlarmStateRequest.Builder |
stateValue(StateValue stateValue)
The value of the state.
|
SetAlarmStateRequest.Builder |
stateValue(String stateValue)
The value of the state.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildSetAlarmStateRequest.Builder alarmName(String alarmName)
The name of the alarm.
alarmName - The name of the alarm.SetAlarmStateRequest.Builder stateValue(String stateValue)
The value of the state.
stateValue - The value of the state.StateValue,
StateValueSetAlarmStateRequest.Builder stateValue(StateValue stateValue)
The value of the state.
stateValue - The value of the state.StateValue,
StateValueSetAlarmStateRequest.Builder stateReason(String stateReason)
The reason that this alarm is set to this specific state, in text format.
stateReason - The reason that this alarm is set to this specific state, in text format.SetAlarmStateRequest.Builder stateReasonData(String stateReasonData)
The reason that this alarm is set to this specific state, in JSON format.
For SNS or EC2 alarm actions, this is just informational. But for EC2 Auto Scaling or application Auto Scaling alarm actions, the Auto Scaling policy uses the information in this field to take the correct action.
stateReasonData - The reason that this alarm is set to this specific state, in JSON format.
For SNS or EC2 alarm actions, this is just informational. But for EC2 Auto Scaling or application Auto Scaling alarm actions, the Auto Scaling policy uses the information in this field to take the correct action.
SetAlarmStateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderSetAlarmStateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.