@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Alarm extends Object implements Serializable, Cloneable
Describes an alarm.
Constructor and Description |
---|
Alarm() |
Modifier and Type | Method and Description |
---|---|
Alarm |
clone() |
boolean |
equals(Object obj) |
String |
getAlarmARN()
The Amazon Resource Name (ARN) of the alarm.
|
String |
getAlarmName()
The name of the alarm.
|
int |
hashCode() |
void |
setAlarmARN(String alarmARN)
The Amazon Resource Name (ARN) of the alarm.
|
void |
setAlarmName(String alarmName)
The name of the alarm.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Alarm |
withAlarmARN(String alarmARN)
The Amazon Resource Name (ARN) of the alarm.
|
Alarm |
withAlarmName(String alarmName)
The name of the alarm.
|
public void setAlarmName(String alarmName)
The name of the alarm.
alarmName
- The name of the alarm.public String getAlarmName()
The name of the alarm.
public Alarm withAlarmName(String alarmName)
The name of the alarm.
alarmName
- The name of the alarm.public void setAlarmARN(String alarmARN)
The Amazon Resource Name (ARN) of the alarm.
alarmARN
- The Amazon Resource Name (ARN) of the alarm.public String getAlarmARN()
The Amazon Resource Name (ARN) of the alarm.
public Alarm withAlarmARN(String alarmARN)
The Amazon Resource Name (ARN) of the alarm.
alarmARN
- The Amazon Resource Name (ARN) of the alarm.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.