Interface SetAlarmStateRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchRequest.Builder,CopyableBuilder<SetAlarmStateRequest.Builder,SetAlarmStateRequest>,SdkBuilder<SetAlarmStateRequest.Builder,SetAlarmStateRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- SetAlarmStateRequest
@Mutable @NotThreadSafe public static interface SetAlarmStateRequest.Builder extends CloudWatchRequest.Builder, SdkPojo, CopyableBuilder<SetAlarmStateRequest.Builder,SetAlarmStateRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SetAlarmStateRequest.BuilderalarmName(String alarmName)The name of the alarm.SetAlarmStateRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SetAlarmStateRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)SetAlarmStateRequest.BuilderstateReason(String stateReason)The reason that this alarm is set to this specific state, in text format.SetAlarmStateRequest.BuilderstateReasonData(String stateReasonData)The reason that this alarm is set to this specific state, in JSON format.SetAlarmStateRequest.BuilderstateValue(String stateValue)The value of the state.SetAlarmStateRequest.BuilderstateValue(StateValue stateValue)The value of the state.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cloudwatch.model.CloudWatchRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
alarmName
SetAlarmStateRequest.Builder alarmName(String alarmName)
The name of the alarm.
- Parameters:
alarmName- The name of the alarm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateValue
SetAlarmStateRequest.Builder stateValue(String stateValue)
The value of the state.
- Parameters:
stateValue- The value of the state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StateValue,StateValue
-
stateValue
SetAlarmStateRequest.Builder stateValue(StateValue stateValue)
The value of the state.
- Parameters:
stateValue- The value of the state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StateValue,StateValue
-
stateReason
SetAlarmStateRequest.Builder stateReason(String stateReason)
The reason that this alarm is set to this specific state, in text format.
- Parameters:
stateReason- The reason that this alarm is set to this specific state, in text format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateReasonData
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SetAlarmStateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SetAlarmStateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-