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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
SetAlarmStateRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.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.
|
build
overrideConfiguration
copy
applyMutation, build
SetAlarmStateRequest.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
,
StateValue
SetAlarmStateRequest.Builder stateValue(StateValue stateValue)
The value of the state.
stateValue
- The value of the state.StateValue
,
StateValue
SetAlarmStateRequest.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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.SetAlarmStateRequest.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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.