@Generated(value="software.amazon.awssdk:codegen") public final class CloudwatchAlarmAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CloudwatchAlarmAction.Builder,CloudwatchAlarmAction>
Describes an action that updates a CloudWatch alarm.
Modifier and Type | Class and Description |
---|---|
static interface |
CloudwatchAlarmAction.Builder |
Modifier and Type | Method and Description |
---|---|
String |
alarmName()
The CloudWatch alarm name.
|
static CloudwatchAlarmAction.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
roleArn()
The IAM role that allows access to the CloudWatch alarm.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CloudwatchAlarmAction.Builder> |
serializableBuilderClass() |
String |
stateReason()
The reason for the alarm change.
|
String |
stateValue()
The value of the alarm state.
|
CloudwatchAlarmAction.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String roleArn()
The IAM role that allows access to the CloudWatch alarm.
public String alarmName()
The CloudWatch alarm name.
public String stateReason()
The reason for the alarm change.
public String stateValue()
The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.
public CloudwatchAlarmAction.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CloudwatchAlarmAction.Builder,CloudwatchAlarmAction>
public static CloudwatchAlarmAction.Builder builder()
public static Class<? extends CloudwatchAlarmAction.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.