@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AlarmSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains a summary of an alarm.
Constructor and Description |
---|
AlarmSummary() |
Modifier and Type | Method and Description |
---|---|
AlarmSummary |
clone() |
boolean |
equals(Object obj) |
String |
getAlarmModelName()
The name of the alarm model.
|
String |
getAlarmModelVersion()
The version of the alarm model.
|
Date |
getCreationTime()
The time the alarm was created, in the Unix epoch format.
|
String |
getKeyValue()
The value of the key used as a filter to select only the alarms associated with the key.
|
Date |
getLastUpdateTime()
The time the alarm was last updated, in the Unix epoch format.
|
String |
getStateName()
The name of the alarm state.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlarmModelName(String alarmModelName)
The name of the alarm model.
|
void |
setAlarmModelVersion(String alarmModelVersion)
The version of the alarm model.
|
void |
setCreationTime(Date creationTime)
The time the alarm was created, in the Unix epoch format.
|
void |
setKeyValue(String keyValue)
The value of the key used as a filter to select only the alarms associated with the key.
|
void |
setLastUpdateTime(Date lastUpdateTime)
The time the alarm was last updated, in the Unix epoch format.
|
void |
setStateName(String stateName)
The name of the alarm state.
|
String |
toString()
Returns a string representation of this object.
|
AlarmSummary |
withAlarmModelName(String alarmModelName)
The name of the alarm model.
|
AlarmSummary |
withAlarmModelVersion(String alarmModelVersion)
The version of the alarm model.
|
AlarmSummary |
withCreationTime(Date creationTime)
The time the alarm was created, in the Unix epoch format.
|
AlarmSummary |
withKeyValue(String keyValue)
The value of the key used as a filter to select only the alarms associated with the key.
|
AlarmSummary |
withLastUpdateTime(Date lastUpdateTime)
The time the alarm was last updated, in the Unix epoch format.
|
AlarmSummary |
withStateName(AlarmStateName stateName)
The name of the alarm state.
|
AlarmSummary |
withStateName(String stateName)
The name of the alarm state.
|
public void setAlarmModelName(String alarmModelName)
The name of the alarm model.
alarmModelName
- The name of the alarm model.public String getAlarmModelName()
The name of the alarm model.
public AlarmSummary withAlarmModelName(String alarmModelName)
The name of the alarm model.
alarmModelName
- The name of the alarm model.public void setAlarmModelVersion(String alarmModelVersion)
The version of the alarm model.
alarmModelVersion
- The version of the alarm model.public String getAlarmModelVersion()
The version of the alarm model.
public AlarmSummary withAlarmModelVersion(String alarmModelVersion)
The version of the alarm model.
alarmModelVersion
- The version of the alarm model.public void setKeyValue(String keyValue)
The value of the key used as a filter to select only the alarms associated with the key.
keyValue
- The value of the key used as a filter to select only the alarms associated with the key.public String getKeyValue()
The value of the key used as a filter to select only the alarms associated with the key.
public AlarmSummary withKeyValue(String keyValue)
The value of the key used as a filter to select only the alarms associated with the key.
keyValue
- The value of the key used as a filter to select only the alarms associated with the key.public void setStateName(String stateName)
The name of the alarm state. The state name can be one of the following values:
DISABLED
- When the alarm is in the DISABLED
state, it isn't ready to evaluate data. To
enable the alarm, you must change the alarm to the NORMAL
state.
NORMAL
- When the alarm is in the NORMAL
state, it's ready to evaluate data.
ACTIVE
- If the alarm is in the ACTIVE
state, the alarm is invoked.
ACKNOWLEDGED
- When the alarm is in the ACKNOWLEDGED
state, the alarm was invoked and
you acknowledged the alarm.
SNOOZE_DISABLED
- When the alarm is in the SNOOZE_DISABLED
state, the alarm is disabled
for a specified period of time. After the snooze time, the alarm automatically changes to the NORMAL
state.
LATCHED
- When the alarm is in the LATCHED
state, the alarm was invoked. However, the
data that the alarm is currently evaluating is within the specified range. To change the alarm to the
NORMAL
state, you must acknowledge the alarm.
stateName
- The name of the alarm state. The state name can be one of the following values:
DISABLED
- When the alarm is in the DISABLED
state, it isn't ready to evaluate
data. To enable the alarm, you must change the alarm to the NORMAL
state.
NORMAL
- When the alarm is in the NORMAL
state, it's ready to evaluate data.
ACTIVE
- If the alarm is in the ACTIVE
state, the alarm is invoked.
ACKNOWLEDGED
- When the alarm is in the ACKNOWLEDGED
state, the alarm was
invoked and you acknowledged the alarm.
SNOOZE_DISABLED
- When the alarm is in the SNOOZE_DISABLED
state, the alarm is
disabled for a specified period of time. After the snooze time, the alarm automatically changes to the
NORMAL
state.
LATCHED
- When the alarm is in the LATCHED
state, the alarm was invoked.
However, the data that the alarm is currently evaluating is within the specified range. To change the
alarm to the NORMAL
state, you must acknowledge the alarm.
AlarmStateName
public String getStateName()
The name of the alarm state. The state name can be one of the following values:
DISABLED
- When the alarm is in the DISABLED
state, it isn't ready to evaluate data. To
enable the alarm, you must change the alarm to the NORMAL
state.
NORMAL
- When the alarm is in the NORMAL
state, it's ready to evaluate data.
ACTIVE
- If the alarm is in the ACTIVE
state, the alarm is invoked.
ACKNOWLEDGED
- When the alarm is in the ACKNOWLEDGED
state, the alarm was invoked and
you acknowledged the alarm.
SNOOZE_DISABLED
- When the alarm is in the SNOOZE_DISABLED
state, the alarm is disabled
for a specified period of time. After the snooze time, the alarm automatically changes to the NORMAL
state.
LATCHED
- When the alarm is in the LATCHED
state, the alarm was invoked. However, the
data that the alarm is currently evaluating is within the specified range. To change the alarm to the
NORMAL
state, you must acknowledge the alarm.
DISABLED
- When the alarm is in the DISABLED
state, it isn't ready to evaluate
data. To enable the alarm, you must change the alarm to the NORMAL
state.
NORMAL
- When the alarm is in the NORMAL
state, it's ready to evaluate data.
ACTIVE
- If the alarm is in the ACTIVE
state, the alarm is invoked.
ACKNOWLEDGED
- When the alarm is in the ACKNOWLEDGED
state, the alarm was
invoked and you acknowledged the alarm.
SNOOZE_DISABLED
- When the alarm is in the SNOOZE_DISABLED
state, the alarm is
disabled for a specified period of time. After the snooze time, the alarm automatically changes to the
NORMAL
state.
LATCHED
- When the alarm is in the LATCHED
state, the alarm was invoked.
However, the data that the alarm is currently evaluating is within the specified range. To change the
alarm to the NORMAL
state, you must acknowledge the alarm.
AlarmStateName
public AlarmSummary withStateName(String stateName)
The name of the alarm state. The state name can be one of the following values:
DISABLED
- When the alarm is in the DISABLED
state, it isn't ready to evaluate data. To
enable the alarm, you must change the alarm to the NORMAL
state.
NORMAL
- When the alarm is in the NORMAL
state, it's ready to evaluate data.
ACTIVE
- If the alarm is in the ACTIVE
state, the alarm is invoked.
ACKNOWLEDGED
- When the alarm is in the ACKNOWLEDGED
state, the alarm was invoked and
you acknowledged the alarm.
SNOOZE_DISABLED
- When the alarm is in the SNOOZE_DISABLED
state, the alarm is disabled
for a specified period of time. After the snooze time, the alarm automatically changes to the NORMAL
state.
LATCHED
- When the alarm is in the LATCHED
state, the alarm was invoked. However, the
data that the alarm is currently evaluating is within the specified range. To change the alarm to the
NORMAL
state, you must acknowledge the alarm.
stateName
- The name of the alarm state. The state name can be one of the following values:
DISABLED
- When the alarm is in the DISABLED
state, it isn't ready to evaluate
data. To enable the alarm, you must change the alarm to the NORMAL
state.
NORMAL
- When the alarm is in the NORMAL
state, it's ready to evaluate data.
ACTIVE
- If the alarm is in the ACTIVE
state, the alarm is invoked.
ACKNOWLEDGED
- When the alarm is in the ACKNOWLEDGED
state, the alarm was
invoked and you acknowledged the alarm.
SNOOZE_DISABLED
- When the alarm is in the SNOOZE_DISABLED
state, the alarm is
disabled for a specified period of time. After the snooze time, the alarm automatically changes to the
NORMAL
state.
LATCHED
- When the alarm is in the LATCHED
state, the alarm was invoked.
However, the data that the alarm is currently evaluating is within the specified range. To change the
alarm to the NORMAL
state, you must acknowledge the alarm.
AlarmStateName
public AlarmSummary withStateName(AlarmStateName stateName)
The name of the alarm state. The state name can be one of the following values:
DISABLED
- When the alarm is in the DISABLED
state, it isn't ready to evaluate data. To
enable the alarm, you must change the alarm to the NORMAL
state.
NORMAL
- When the alarm is in the NORMAL
state, it's ready to evaluate data.
ACTIVE
- If the alarm is in the ACTIVE
state, the alarm is invoked.
ACKNOWLEDGED
- When the alarm is in the ACKNOWLEDGED
state, the alarm was invoked and
you acknowledged the alarm.
SNOOZE_DISABLED
- When the alarm is in the SNOOZE_DISABLED
state, the alarm is disabled
for a specified period of time. After the snooze time, the alarm automatically changes to the NORMAL
state.
LATCHED
- When the alarm is in the LATCHED
state, the alarm was invoked. However, the
data that the alarm is currently evaluating is within the specified range. To change the alarm to the
NORMAL
state, you must acknowledge the alarm.
stateName
- The name of the alarm state. The state name can be one of the following values:
DISABLED
- When the alarm is in the DISABLED
state, it isn't ready to evaluate
data. To enable the alarm, you must change the alarm to the NORMAL
state.
NORMAL
- When the alarm is in the NORMAL
state, it's ready to evaluate data.
ACTIVE
- If the alarm is in the ACTIVE
state, the alarm is invoked.
ACKNOWLEDGED
- When the alarm is in the ACKNOWLEDGED
state, the alarm was
invoked and you acknowledged the alarm.
SNOOZE_DISABLED
- When the alarm is in the SNOOZE_DISABLED
state, the alarm is
disabled for a specified period of time. After the snooze time, the alarm automatically changes to the
NORMAL
state.
LATCHED
- When the alarm is in the LATCHED
state, the alarm was invoked.
However, the data that the alarm is currently evaluating is within the specified range. To change the
alarm to the NORMAL
state, you must acknowledge the alarm.
AlarmStateName
public void setCreationTime(Date creationTime)
The time the alarm was created, in the Unix epoch format.
creationTime
- The time the alarm was created, in the Unix epoch format.public Date getCreationTime()
The time the alarm was created, in the Unix epoch format.
public AlarmSummary withCreationTime(Date creationTime)
The time the alarm was created, in the Unix epoch format.
creationTime
- The time the alarm was created, in the Unix epoch format.public void setLastUpdateTime(Date lastUpdateTime)
The time the alarm was last updated, in the Unix epoch format.
lastUpdateTime
- The time the alarm was last updated, in the Unix epoch format.public Date getLastUpdateTime()
The time the alarm was last updated, in the Unix epoch format.
public AlarmSummary withLastUpdateTime(Date lastUpdateTime)
The time the alarm was last updated, in the Unix epoch format.
lastUpdateTime
- The time the alarm was last updated, in the Unix epoch format.public String toString()
toString
in class Object
Object.toString()
public AlarmSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.