@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AlarmHistoryItem extends Object implements Serializable, Cloneable
Represents the history of a specific alarm.
Constructor and Description |
---|
AlarmHistoryItem() |
Modifier and Type | Method and Description |
---|---|
AlarmHistoryItem |
clone() |
boolean |
equals(Object obj) |
String |
getAlarmName()
The descriptive name for the alarm.
|
String |
getAlarmType()
The type of alarm, either metric alarm or composite alarm.
|
String |
getHistoryData()
Data about the alarm, in JSON format.
|
String |
getHistoryItemType()
The type of alarm history item.
|
String |
getHistorySummary()
A summary of the alarm history, in text format.
|
Date |
getTimestamp()
The time stamp for the alarm history item.
|
int |
hashCode() |
void |
setAlarmName(String alarmName)
The descriptive name for the alarm.
|
void |
setAlarmType(AlarmType alarmType)
The type of alarm, either metric alarm or composite alarm.
|
void |
setAlarmType(String alarmType)
The type of alarm, either metric alarm or composite alarm.
|
void |
setHistoryData(String historyData)
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 summary of the alarm history, in text format.
|
void |
setTimestamp(Date timestamp)
The time stamp for the alarm history item.
|
String |
toString()
Returns a string representation of this object.
|
AlarmHistoryItem |
withAlarmName(String alarmName)
The descriptive name for the alarm.
|
AlarmHistoryItem |
withAlarmType(AlarmType alarmType)
The type of alarm, either metric alarm or composite alarm.
|
AlarmHistoryItem |
withAlarmType(String alarmType)
The type of alarm, either metric alarm or composite alarm.
|
AlarmHistoryItem |
withHistoryData(String historyData)
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 summary of the alarm history, in text format.
|
AlarmHistoryItem |
withTimestamp(Date timestamp)
The time stamp for the alarm history item.
|
public void setAlarmName(String alarmName)
The descriptive name for the alarm.
alarmName
- The descriptive name for the alarm.public String getAlarmName()
The descriptive name for the alarm.
public AlarmHistoryItem withAlarmName(String alarmName)
The descriptive name for the alarm.
alarmName
- The descriptive name for the alarm.public void setAlarmType(String alarmType)
The type of alarm, either metric alarm or composite alarm.
alarmType
- The type of alarm, either metric alarm or composite alarm.AlarmType
public String getAlarmType()
The type of alarm, either metric alarm or composite alarm.
AlarmType
public AlarmHistoryItem withAlarmType(String alarmType)
The type of alarm, either metric alarm or composite alarm.
alarmType
- The type of alarm, either metric alarm or composite alarm.AlarmType
public void setAlarmType(AlarmType alarmType)
The type of alarm, either metric alarm or composite alarm.
alarmType
- The type of alarm, either metric alarm or composite alarm.AlarmType
public AlarmHistoryItem withAlarmType(AlarmType alarmType)
The type of alarm, either metric alarm or composite alarm.
alarmType
- The type of alarm, either metric alarm or composite alarm.AlarmType
public void setTimestamp(Date timestamp)
The time stamp for the alarm history item.
timestamp
- The time stamp for the alarm history item.public Date getTimestamp()
The time stamp for the alarm history item.
public AlarmHistoryItem withTimestamp(Date timestamp)
The time stamp for the alarm history item.
timestamp
- The time stamp for the alarm history item.public void setHistoryItemType(String historyItemType)
The type of alarm history item.
historyItemType
- The type of alarm history item.HistoryItemType
public String getHistoryItemType()
The type of alarm history item.
HistoryItemType
public AlarmHistoryItem withHistoryItemType(String historyItemType)
The type of alarm history item.
historyItemType
- The type of alarm history item.HistoryItemType
public void setHistoryItemType(HistoryItemType historyItemType)
The type of alarm history item.
historyItemType
- The type of alarm history item.HistoryItemType
public AlarmHistoryItem withHistoryItemType(HistoryItemType historyItemType)
The type of alarm history item.
historyItemType
- The type of alarm history item.HistoryItemType
public void setHistorySummary(String historySummary)
A summary of the alarm history, in text format.
historySummary
- A summary of the alarm history, in text format.public String getHistorySummary()
A summary of the alarm history, in text format.
public AlarmHistoryItem withHistorySummary(String historySummary)
A summary of the alarm history, in text format.
historySummary
- A summary of the alarm history, in text format.public void setHistoryData(String historyData)
Data about the alarm, in JSON format.
historyData
- Data about the alarm, in JSON format.public String getHistoryData()
Data about the alarm, in JSON format.
public AlarmHistoryItem withHistoryData(String historyData)
Data about the alarm, in JSON format.
historyData
- Data about the alarm, in JSON format.public String toString()
toString
in class Object
Object.toString()
public AlarmHistoryItem clone()
Copyright © 2021. All rights reserved.