@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MonitoringAlertHistorySummary extends Object implements Serializable, Cloneable, StructuredPojo
Provides summary information of an alert's history.
Constructor and Description |
---|
MonitoringAlertHistorySummary() |
Modifier and Type | Method and Description |
---|---|
MonitoringAlertHistorySummary |
clone() |
boolean |
equals(Object obj) |
String |
getAlertStatus()
The current alert status of an alert.
|
Date |
getCreationTime()
A timestamp that indicates when the first alert transition occurred in an alert history.
|
String |
getMonitoringAlertName()
The name of a monitoring alert.
|
String |
getMonitoringScheduleName()
The name of a monitoring schedule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlertStatus(String alertStatus)
The current alert status of an alert.
|
void |
setCreationTime(Date creationTime)
A timestamp that indicates when the first alert transition occurred in an alert history.
|
void |
setMonitoringAlertName(String monitoringAlertName)
The name of a monitoring alert.
|
void |
setMonitoringScheduleName(String monitoringScheduleName)
The name of a monitoring schedule.
|
String |
toString()
Returns a string representation of this object.
|
MonitoringAlertHistorySummary |
withAlertStatus(MonitoringAlertStatus alertStatus)
The current alert status of an alert.
|
MonitoringAlertHistorySummary |
withAlertStatus(String alertStatus)
The current alert status of an alert.
|
MonitoringAlertHistorySummary |
withCreationTime(Date creationTime)
A timestamp that indicates when the first alert transition occurred in an alert history.
|
MonitoringAlertHistorySummary |
withMonitoringAlertName(String monitoringAlertName)
The name of a monitoring alert.
|
MonitoringAlertHistorySummary |
withMonitoringScheduleName(String monitoringScheduleName)
The name of a monitoring schedule.
|
public void setMonitoringScheduleName(String monitoringScheduleName)
The name of a monitoring schedule.
monitoringScheduleName
- The name of a monitoring schedule.public String getMonitoringScheduleName()
The name of a monitoring schedule.
public MonitoringAlertHistorySummary withMonitoringScheduleName(String monitoringScheduleName)
The name of a monitoring schedule.
monitoringScheduleName
- The name of a monitoring schedule.public void setMonitoringAlertName(String monitoringAlertName)
The name of a monitoring alert.
monitoringAlertName
- The name of a monitoring alert.public String getMonitoringAlertName()
The name of a monitoring alert.
public MonitoringAlertHistorySummary withMonitoringAlertName(String monitoringAlertName)
The name of a monitoring alert.
monitoringAlertName
- The name of a monitoring alert.public void setCreationTime(Date creationTime)
A timestamp that indicates when the first alert transition occurred in an alert history. An alert transition can
be from status InAlert
to OK
, or from OK
to InAlert
.
creationTime
- A timestamp that indicates when the first alert transition occurred in an alert history. An alert
transition can be from status InAlert
to OK
, or from OK
to
InAlert
.public Date getCreationTime()
A timestamp that indicates when the first alert transition occurred in an alert history. An alert transition can
be from status InAlert
to OK
, or from OK
to InAlert
.
InAlert
to OK
, or from OK
to
InAlert
.public MonitoringAlertHistorySummary withCreationTime(Date creationTime)
A timestamp that indicates when the first alert transition occurred in an alert history. An alert transition can
be from status InAlert
to OK
, or from OK
to InAlert
.
creationTime
- A timestamp that indicates when the first alert transition occurred in an alert history. An alert
transition can be from status InAlert
to OK
, or from OK
to
InAlert
.public void setAlertStatus(String alertStatus)
The current alert status of an alert.
alertStatus
- The current alert status of an alert.MonitoringAlertStatus
public String getAlertStatus()
The current alert status of an alert.
MonitoringAlertStatus
public MonitoringAlertHistorySummary withAlertStatus(String alertStatus)
The current alert status of an alert.
alertStatus
- The current alert status of an alert.MonitoringAlertStatus
public MonitoringAlertHistorySummary withAlertStatus(MonitoringAlertStatus alertStatus)
The current alert status of an alert.
alertStatus
- The current alert status of an alert.MonitoringAlertStatus
public String toString()
toString
in class Object
Object.toString()
public MonitoringAlertHistorySummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.