|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudwatch.model.AlarmHistoryItem
public class AlarmHistoryItem
The AlarmHistoryItem
data type contains descriptive information about the history of a specific alarm. If you call DescribeAlarmHistory,
Amazon CloudWatch returns this data type as part of the DescribeAlarmHistoryResult data type.
Constructor Summary | |
---|---|
AlarmHistoryItem()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAlarmName()
The descriptive name for the alarm. |
String |
getHistoryData()
Machine-readable data about the alarm in JSON format. |
String |
getHistoryItemType()
The type of alarm history item. |
String |
getHistorySummary()
A human-readable summary of the alarm history. |
Date |
getTimestamp()
The time stamp for the alarm history item. |
int |
hashCode()
|
void |
setAlarmName(String alarmName)
The descriptive name for the alarm. |
void |
setHistoryData(String historyData)
Machine-readable data about the alarm in JSON format. |
void |
setHistoryItemType(HistoryItemType historyItemType)
The type of alarm history item. |
void |
setHistoryItemType(String historyItemType)
The type of alarm history item. |
void |
setHistorySummary(String historySummary)
A human-readable summary of the alarm history. |
void |
setTimestamp(Date timestamp)
The time stamp for the alarm history item. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AlarmHistoryItem |
withAlarmName(String alarmName)
The descriptive name for the alarm. |
AlarmHistoryItem |
withHistoryData(String historyData)
Machine-readable data about the alarm in JSON format. |
AlarmHistoryItem |
withHistoryItemType(HistoryItemType historyItemType)
The type of alarm history item. |
AlarmHistoryItem |
withHistoryItemType(String historyItemType)
The type of alarm history item. |
AlarmHistoryItem |
withHistorySummary(String historySummary)
A human-readable summary of the alarm history. |
AlarmHistoryItem |
withTimestamp(Date timestamp)
The time stamp for the alarm history item. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AlarmHistoryItem()
Method Detail |
---|
public String getAlarmName()
Constraints:
Length: 1 - 255
public void setAlarmName(String alarmName)
Constraints:
Length: 1 - 255
alarmName
- The descriptive name for the alarm.public AlarmHistoryItem withAlarmName(String alarmName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
alarmName
- The descriptive name for the alarm.
public Date getTimestamp()
public void setTimestamp(Date timestamp)
timestamp
- The time stamp for the alarm history item.public AlarmHistoryItem withTimestamp(Date timestamp)
Returns a reference to this object so that method calls can be chained together.
timestamp
- The time stamp for the alarm history item.
public String getHistoryItemType()
Constraints:
Allowed Values: ConfigurationUpdate, StateUpdate, Action
HistoryItemType
public void setHistoryItemType(String historyItemType)
Constraints:
Allowed Values: ConfigurationUpdate, StateUpdate, Action
historyItemType
- The type of alarm history item.HistoryItemType
public AlarmHistoryItem withHistoryItemType(String historyItemType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ConfigurationUpdate, StateUpdate, Action
historyItemType
- The type of alarm history item.
HistoryItemType
public void setHistoryItemType(HistoryItemType historyItemType)
Constraints:
Allowed Values: ConfigurationUpdate, StateUpdate, Action
historyItemType
- The type of alarm history item.HistoryItemType
public AlarmHistoryItem withHistoryItemType(HistoryItemType historyItemType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ConfigurationUpdate, StateUpdate, Action
historyItemType
- The type of alarm history item.
HistoryItemType
public String getHistorySummary()
Constraints:
Length: 1 - 255
public void setHistorySummary(String historySummary)
Constraints:
Length: 1 - 255
historySummary
- A human-readable summary of the alarm history.public AlarmHistoryItem withHistorySummary(String historySummary)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
historySummary
- A human-readable summary of the alarm history.
public String getHistoryData()
Constraints:
Length: 1 - 4095
public void setHistoryData(String historyData)
Constraints:
Length: 1 - 4095
historyData
- Machine-readable data about the alarm in JSON format.public AlarmHistoryItem withHistoryData(String historyData)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 4095
historyData
- Machine-readable data about the alarm in JSON format.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |