@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MonitoringAlertSummary extends Object implements Serializable, Cloneable, StructuredPojo
Provides summary information about a monitor alert.
Constructor and Description |
---|
MonitoringAlertSummary() |
Modifier and Type | Method and Description |
---|---|
MonitoringAlertSummary |
clone() |
boolean |
equals(Object obj) |
MonitoringAlertActions |
getActions()
A list of alert actions taken in response to an alert going into
InAlert status. |
String |
getAlertStatus()
The current status of an alert.
|
Date |
getCreationTime()
A timestamp that indicates when a monitor alert was created.
|
Integer |
getDatapointsToAlert()
Within
EvaluationPeriod , how many execution failures will raise an alert. |
Integer |
getEvaluationPeriod()
The number of most recent monitoring executions to consider when evaluating alert status.
|
Date |
getLastModifiedTime()
A timestamp that indicates when a monitor alert was last updated.
|
String |
getMonitoringAlertName()
The name of a monitoring alert.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActions(MonitoringAlertActions actions)
A list of alert actions taken in response to an alert going into
InAlert status. |
void |
setAlertStatus(String alertStatus)
The current status of an alert.
|
void |
setCreationTime(Date creationTime)
A timestamp that indicates when a monitor alert was created.
|
void |
setDatapointsToAlert(Integer datapointsToAlert)
Within
EvaluationPeriod , how many execution failures will raise an alert. |
void |
setEvaluationPeriod(Integer evaluationPeriod)
The number of most recent monitoring executions to consider when evaluating alert status.
|
void |
setLastModifiedTime(Date lastModifiedTime)
A timestamp that indicates when a monitor alert was last updated.
|
void |
setMonitoringAlertName(String monitoringAlertName)
The name of a monitoring alert.
|
String |
toString()
Returns a string representation of this object.
|
MonitoringAlertSummary |
withActions(MonitoringAlertActions actions)
A list of alert actions taken in response to an alert going into
InAlert status. |
MonitoringAlertSummary |
withAlertStatus(MonitoringAlertStatus alertStatus)
The current status of an alert.
|
MonitoringAlertSummary |
withAlertStatus(String alertStatus)
The current status of an alert.
|
MonitoringAlertSummary |
withCreationTime(Date creationTime)
A timestamp that indicates when a monitor alert was created.
|
MonitoringAlertSummary |
withDatapointsToAlert(Integer datapointsToAlert)
Within
EvaluationPeriod , how many execution failures will raise an alert. |
MonitoringAlertSummary |
withEvaluationPeriod(Integer evaluationPeriod)
The number of most recent monitoring executions to consider when evaluating alert status.
|
MonitoringAlertSummary |
withLastModifiedTime(Date lastModifiedTime)
A timestamp that indicates when a monitor alert was last updated.
|
MonitoringAlertSummary |
withMonitoringAlertName(String monitoringAlertName)
The name of a monitoring alert.
|
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 MonitoringAlertSummary 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 a monitor alert was created.
creationTime
- A timestamp that indicates when a monitor alert was created.public Date getCreationTime()
A timestamp that indicates when a monitor alert was created.
public MonitoringAlertSummary withCreationTime(Date creationTime)
A timestamp that indicates when a monitor alert was created.
creationTime
- A timestamp that indicates when a monitor alert was created.public void setLastModifiedTime(Date lastModifiedTime)
A timestamp that indicates when a monitor alert was last updated.
lastModifiedTime
- A timestamp that indicates when a monitor alert was last updated.public Date getLastModifiedTime()
A timestamp that indicates when a monitor alert was last updated.
public MonitoringAlertSummary withLastModifiedTime(Date lastModifiedTime)
A timestamp that indicates when a monitor alert was last updated.
lastModifiedTime
- A timestamp that indicates when a monitor alert was last updated.public void setAlertStatus(String alertStatus)
The current status of an alert.
alertStatus
- The current status of an alert.MonitoringAlertStatus
public String getAlertStatus()
The current status of an alert.
MonitoringAlertStatus
public MonitoringAlertSummary withAlertStatus(String alertStatus)
The current status of an alert.
alertStatus
- The current status of an alert.MonitoringAlertStatus
public MonitoringAlertSummary withAlertStatus(MonitoringAlertStatus alertStatus)
The current status of an alert.
alertStatus
- The current status of an alert.MonitoringAlertStatus
public void setDatapointsToAlert(Integer datapointsToAlert)
Within EvaluationPeriod
, how many execution failures will raise an alert.
datapointsToAlert
- Within EvaluationPeriod
, how many execution failures will raise an alert.public Integer getDatapointsToAlert()
Within EvaluationPeriod
, how many execution failures will raise an alert.
EvaluationPeriod
, how many execution failures will raise an alert.public MonitoringAlertSummary withDatapointsToAlert(Integer datapointsToAlert)
Within EvaluationPeriod
, how many execution failures will raise an alert.
datapointsToAlert
- Within EvaluationPeriod
, how many execution failures will raise an alert.public void setEvaluationPeriod(Integer evaluationPeriod)
The number of most recent monitoring executions to consider when evaluating alert status.
evaluationPeriod
- The number of most recent monitoring executions to consider when evaluating alert status.public Integer getEvaluationPeriod()
The number of most recent monitoring executions to consider when evaluating alert status.
public MonitoringAlertSummary withEvaluationPeriod(Integer evaluationPeriod)
The number of most recent monitoring executions to consider when evaluating alert status.
evaluationPeriod
- The number of most recent monitoring executions to consider when evaluating alert status.public void setActions(MonitoringAlertActions actions)
A list of alert actions taken in response to an alert going into InAlert
status.
actions
- A list of alert actions taken in response to an alert going into InAlert
status.public MonitoringAlertActions getActions()
A list of alert actions taken in response to an alert going into InAlert
status.
InAlert
status.public MonitoringAlertSummary withActions(MonitoringAlertActions actions)
A list of alert actions taken in response to an alert going into InAlert
status.
actions
- A list of alert actions taken in response to an alert going into InAlert
status.public String toString()
toString
in class Object
Object.toString()
public MonitoringAlertSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.