@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Alarm extends Object implements Serializable, Cloneable, StructuredPojo
Information about an alarm.
| Constructor and Description |
|---|
Alarm () |
| Modifier and Type | Method and Description |
|---|---|
Alarm |
clone () |
boolean |
equals (Object obj) |
String |
getName ()
The name of the alarm.
|
int |
hashCode () |
void |
marshall (ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName (String name)
The name of the alarm.
|
String |
toString ()
Returns a string representation of this object.
|
Alarm |
withName (String name)
The name of the alarm.
|
public Alarm()
public void setName(String name)
The name of the alarm. Maximum length is 255 characters. Each alarm name can be used only once in a list of alarms.
name - The name of the alarm. Maximum length is 255 characters. Each alarm name can be used only once in a list
of alarms.public String getName()
The name of the alarm. Maximum length is 255 characters. Each alarm name can be used only once in a list of alarms.
public Alarm withName(String name)
The name of the alarm. Maximum length is 255 characters. Each alarm name can be used only once in a list of alarms.
name - The name of the alarm. Maximum length is 255 characters. Each alarm name can be used only once in a list
of alarms.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.