@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Alarm extends Object implements Serializable, Cloneable, StructuredPojo
A CloudWatch alarm you apply to an automation or command.
Constructor and Description |
---|
Alarm() |
Modifier and Type | Method and Description |
---|---|
Alarm |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name 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.
|
String |
toString()
Returns a string representation of this object.
|
Alarm |
withName(String name)
The name 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 Alarm withName(String name)
The name of your CloudWatch alarm.
name
- The name of your CloudWatch alarm.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.