com.amazonaws.services.autoscaling.model
Class Alarm

java.lang.Object
  extended by com.amazonaws.services.autoscaling.model.Alarm

public class Alarm
extends Object

The Alarm data type.


Constructor Summary
Alarm()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Alarm

public Alarm()
Method Detail

getAlarmName

public String getAlarmName()
The name of the alarm.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The name of the alarm.

setAlarmName

public void setAlarmName(String alarmName)
The name of the alarm.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
alarmName - The name of the alarm.

withAlarmName

public Alarm withAlarmName(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]*

Parameters:
alarmName - The name of the alarm.
Returns:
A reference to this updated object so that method calls can be chained together.

getAlarmARN

public String getAlarmARN()
The Amazon Resource Name (ARN) of the alarm.

Constraints:
Length: 1 - 1600
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The Amazon Resource Name (ARN) of the alarm.

setAlarmARN

public void setAlarmARN(String alarmARN)
The Amazon Resource Name (ARN) of the alarm.

Constraints:
Length: 1 - 1600
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
alarmARN - The Amazon Resource Name (ARN) of the alarm.

withAlarmARN

public Alarm withAlarmARN(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]*

Parameters:
alarmARN - The Amazon Resource Name (ARN) of the alarm.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.