Class Alarm
java.lang.Object
com.amazonaws.services.applicationautoscaling.model.Alarm
- All Implemented Interfaces:
Serializable, Cloneable
An object representing a CloudWatch alarm associated with a scaling policy.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe Amazon Resource Name (ARN) of the alarm.The name of the alarm.inthashCode()voidsetAlarmARN(String alarmARN) The Amazon Resource Name (ARN) of the alarm.voidsetAlarmName(String alarmName) The name of the alarm.toString()Returns a string representation of this object; useful for testing and debugging.withAlarmARN(String alarmARN) The Amazon Resource Name (ARN) of the alarm.withAlarmName(String alarmName) The name of the alarm.
-
Constructor Details
-
Alarm
public Alarm()
-
-
Method Details
-
setAlarmName
The name of the alarm.
- Parameters:
alarmName- The name of the alarm.
-
getAlarmName
-
withAlarmName
-
setAlarmARN
The Amazon Resource Name (ARN) of the alarm.
- Parameters:
alarmARN- The Amazon Resource Name (ARN) of the alarm.
-
getAlarmARN
The Amazon Resource Name (ARN) of the alarm.
- Returns:
- The Amazon Resource Name (ARN) of the alarm.
-
withAlarmARN
-
toString
-
equals
-
hashCode
-
clone
-