public static interface SetAlarmStateRequest.Builder extends CloudWatchRequest.Builder, CopyableBuilder<SetAlarmStateRequest.Builder,SetAlarmStateRequest>
| Modifier and Type | Method and Description |
|---|---|
SetAlarmStateRequest.Builder |
alarmName(String alarmName)
The name for the alarm.
|
SetAlarmStateRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
SetAlarmStateRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
buildrequestOverrideConfigcopyapply, buildSetAlarmStateRequest.Builder alarmName(String alarmName)
The name for the alarm. This name must be unique within the AWS account. The maximum length is 255 characters.
alarmName - The name for the alarm. This name must be unique within the AWS account. The maximum length is 255
characters.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.
stateReasonData - The reason that this alarm is set to this specific state, in JSON format.SetAlarmStateRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.SetAlarmStateRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.