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 SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFields
- 
Method Details- 
roleArnThe 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.
 
- 
alarmNameThe CloudWatch alarm name. - Parameters:
- alarmName- The CloudWatch alarm name.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
stateReasonThe 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.
 
- 
stateValueThe 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.
 
 
-