public class AlarmHistoryItem
extends java.lang.Object
implements java.io.Serializable
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.
| コンストラクタと説明 |
|---|
AlarmHistoryItem() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAlarmName()
The descriptive name for the alarm.
|
java.lang.String |
getHistoryData()
Machine-readable data about the alarm in JSON format.
|
java.lang.String |
getHistoryItemType()
The type of alarm history item.
|
java.lang.String |
getHistorySummary()
A human-readable summary of the alarm history.
|
java.util.Date |
getTimestamp()
The time stamp for the alarm history item.
|
int |
hashCode() |
void |
setAlarmName(java.lang.String alarmName)
The descriptive name for the alarm.
|
void |
setHistoryData(java.lang.String historyData)
Machine-readable data about the alarm in JSON format.
|
void |
setHistoryItemType(HistoryItemType historyItemType)
The type of alarm history item.
|
void |
setHistoryItemType(java.lang.String historyItemType)
The type of alarm history item.
|
void |
setHistorySummary(java.lang.String historySummary)
A human-readable summary of the alarm history.
|
void |
setTimestamp(java.util.Date timestamp)
The time stamp for the alarm history item.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AlarmHistoryItem |
withAlarmName(java.lang.String alarmName)
The descriptive name for the alarm.
|
AlarmHistoryItem |
withHistoryData(java.lang.String historyData)
Machine-readable data about the alarm in JSON format.
|
AlarmHistoryItem |
withHistoryItemType(HistoryItemType historyItemType)
The type of alarm history item.
|
AlarmHistoryItem |
withHistoryItemType(java.lang.String historyItemType)
The type of alarm history item.
|
AlarmHistoryItem |
withHistorySummary(java.lang.String historySummary)
A human-readable summary of the alarm history.
|
AlarmHistoryItem |
withTimestamp(java.util.Date timestamp)
The time stamp for the alarm history item.
|
public java.lang.String getAlarmName()
Constraints:
Length: 1 - 255
public void setAlarmName(java.lang.String alarmName)
Constraints:
Length: 1 - 255
alarmName - The descriptive name for the alarm.public AlarmHistoryItem withAlarmName(java.lang.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 java.util.Date getTimestamp()
public void setTimestamp(java.util.Date timestamp)
timestamp - The time stamp for the alarm history item.public AlarmHistoryItem withTimestamp(java.util.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 java.lang.String getHistoryItemType()
Constraints:
Allowed Values: ConfigurationUpdate, StateUpdate, Action
HistoryItemTypepublic void setHistoryItemType(java.lang.String historyItemType)
Constraints:
Allowed Values: ConfigurationUpdate, StateUpdate, Action
historyItemType - The type of alarm history item.HistoryItemTypepublic AlarmHistoryItem withHistoryItemType(java.lang.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.HistoryItemTypepublic void setHistoryItemType(HistoryItemType historyItemType)
Constraints:
Allowed Values: ConfigurationUpdate, StateUpdate, Action
historyItemType - The type of alarm history item.HistoryItemTypepublic 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.HistoryItemTypepublic java.lang.String getHistorySummary()
Constraints:
Length: 1 - 255
public void setHistorySummary(java.lang.String historySummary)
Constraints:
Length: 1 - 255
historySummary - A human-readable summary of the alarm history.public AlarmHistoryItem withHistorySummary(java.lang.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 java.lang.String getHistoryData()
Constraints:
Length: 1 - 4095
public void setHistoryData(java.lang.String historyData)
Constraints:
Length: 1 - 4095
historyData - Machine-readable data about the alarm in JSON format.public AlarmHistoryItem withHistoryData(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object