Interface CloudwatchAlarmAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CloudwatchAlarmAction.Builder,
,CloudwatchAlarmAction> SdkBuilder<CloudwatchAlarmAction.Builder,
,CloudwatchAlarmAction> SdkPojo
- Enclosing class:
CloudwatchAlarmAction
public static interface CloudwatchAlarmAction.Builder
extends SdkPojo, CopyableBuilder<CloudwatchAlarmAction.Builder,CloudwatchAlarmAction>
-
Method Summary
Modifier and TypeMethodDescriptionThe CloudWatch alarm name.The IAM role that allows access to the CloudWatch alarm.stateReason
(String stateReason) The reason for the alarm change.stateValue
(String stateValue) The value of the alarm state.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, sdkFields
-
Method Details
-
roleArn
The IAM role that allows access to the CloudWatch alarm.
- Parameters:
roleArn
- The IAM role that allows access to the CloudWatch alarm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmName
The CloudWatch alarm name.
- Parameters:
alarmName
- The CloudWatch alarm name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateReason
The reason for the alarm change.
- Parameters:
stateReason
- The reason for the alarm change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateValue
The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.
- Parameters:
stateValue
- The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-