@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AlarmStateInformation extends Object implements Serializable, Cloneable, StructuredPojo
The details about the state of your CloudWatch alarm.
| Constructor and Description | 
|---|
AlarmStateInformation()  | 
| Modifier and Type | Method and Description | 
|---|---|
AlarmStateInformation | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getName()
 The name of your CloudWatch alarm. 
 | 
String | 
getState()
 The state of your CloudWatch alarm. 
 | 
int | 
hashCode()  | 
void | 
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given  
ProtocolMarshaller. | 
void | 
setName(String name)
 The name of your CloudWatch alarm. 
 | 
void | 
setState(String state)
 The state of your CloudWatch alarm. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
AlarmStateInformation | 
withName(String name)
 The name of your CloudWatch alarm. 
 | 
AlarmStateInformation | 
withState(ExternalAlarmState state)
 The state of your CloudWatch alarm. 
 | 
AlarmStateInformation | 
withState(String state)
 The state of your CloudWatch alarm. 
 | 
public void setName(String name)
The name of your CloudWatch alarm.
name - The name of your CloudWatch alarm.public String getName()
The name of your CloudWatch alarm.
public AlarmStateInformation withName(String name)
The name of your CloudWatch alarm.
name - The name of your CloudWatch alarm.public void setState(String state)
The state of your CloudWatch alarm.
state - The state of your CloudWatch alarm.ExternalAlarmStatepublic String getState()
The state of your CloudWatch alarm.
ExternalAlarmStatepublic AlarmStateInformation withState(String state)
The state of your CloudWatch alarm.
state - The state of your CloudWatch alarm.ExternalAlarmStatepublic AlarmStateInformation withState(ExternalAlarmState state)
The state of your CloudWatch alarm.
state - The state of your CloudWatch alarm.ExternalAlarmStatepublic String toString()
toString in class ObjectObject.toString()public AlarmStateInformation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.