@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAlarmResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeAlarmResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAlarmResult |
clone() |
boolean |
equals(Object obj) |
Alarm |
getAlarm()
Contains information about an alarm.
|
int |
hashCode() |
void |
setAlarm(Alarm alarm)
Contains information about an alarm.
|
String |
toString()
Returns a string representation of this object.
|
DescribeAlarmResult |
withAlarm(Alarm alarm)
Contains information about an alarm.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAlarm(Alarm alarm)
Contains information about an alarm.
alarm
- Contains information about an alarm.public Alarm getAlarm()
Contains information about an alarm.
public DescribeAlarmResult withAlarm(Alarm alarm)
Contains information about an alarm.
alarm
- Contains information about an alarm.public String toString()
toString
in class Object
Object.toString()
public DescribeAlarmResult clone()