public class Alarm
extends java.lang.Object
implements java.io.Serializable
Describes an alarm.
Constructor and Description |
---|
Alarm() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAlarmARN()
The Amazon Resource Name (ARN) of the alarm.
|
java.lang.String |
getAlarmName()
The name of the alarm.
|
int |
hashCode() |
void |
setAlarmARN(java.lang.String alarmARN)
The Amazon Resource Name (ARN) of the alarm.
|
void |
setAlarmName(java.lang.String alarmName)
The name of the alarm.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Alarm |
withAlarmARN(java.lang.String alarmARN)
The Amazon Resource Name (ARN) of the alarm.
|
Alarm |
withAlarmName(java.lang.String alarmName)
The name of the alarm.
|
public java.lang.String getAlarmName()
The name of the alarm.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
The name of the alarm.
public void setAlarmName(java.lang.String alarmName)
The name of the alarm.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
alarmName
- The name of the alarm.
public Alarm withAlarmName(java.lang.String alarmName)
The name of the alarm.
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 java.lang.String getAlarmARN()
The Amazon Resource Name (ARN) of the alarm.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
The Amazon Resource Name (ARN) of the alarm.
public void setAlarmARN(java.lang.String alarmARN)
The Amazon Resource Name (ARN) of the alarm.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
alarmARN
- The Amazon Resource Name (ARN) of the alarm.
public Alarm withAlarmARN(java.lang.String alarmARN)
The Amazon Resource Name (ARN) of the alarm.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.