public class Alarm extends Object implements Serializable
The Alarm data type.
Constructor and Description |
---|
Alarm() |
Modifier and Type | Method and Description |
---|---|
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 String getAlarmName()
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
public void setAlarmName(String alarmName)
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
alarmName
- The name of the alarm.public Alarm withAlarmName(String alarmName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
alarmName
- The name of the alarm.public String getAlarmARN()
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
public void setAlarmARN(String alarmARN)
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
alarmARN
- The Amazon Resource Name (ARN) of the alarm.public Alarm withAlarmARN(String alarmARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
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.