@Generated(value="software.amazon.awssdk:codegen") public class CloudwatchAlarmAction extends Object implements StructuredPojo, 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() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
roleArn()
The IAM role that allows access to the CloudWatch alarm.
|
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.