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 |
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
requestOverrideConfig, requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.