@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AlertSummary extends Object implements Serializable, Cloneable, StructuredPojo
Provides a summary of an alert's configuration.
Constructor and Description |
---|
AlertSummary() |
Modifier and Type | Method and Description |
---|---|
AlertSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
AlertSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
AlertSummary |
clone() |
boolean |
equals(Object obj) |
String |
getAlertArn()
The ARN of the alert.
|
String |
getAlertName()
The name of the alert.
|
Integer |
getAlertSensitivityThreshold()
The minimum severity for an anomaly to trigger the alert.
|
String |
getAlertStatus()
The status of the alert.
|
String |
getAlertType()
The type of the alert.
|
String |
getAnomalyDetectorArn()
The ARN of the detector to which the alert is attached.
|
Date |
getCreationTime()
The time at which the alert was created.
|
Date |
getLastModificationTime()
The time at which the alert was last modified.
|
Map<String,String> |
getTags()
The alert's tags.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlertArn(String alertArn)
The ARN of the alert.
|
void |
setAlertName(String alertName)
The name of the alert.
|
void |
setAlertSensitivityThreshold(Integer alertSensitivityThreshold)
The minimum severity for an anomaly to trigger the alert.
|
void |
setAlertStatus(String alertStatus)
The status of the alert.
|
void |
setAlertType(String alertType)
The type of the alert.
|
void |
setAnomalyDetectorArn(String anomalyDetectorArn)
The ARN of the detector to which the alert is attached.
|
void |
setCreationTime(Date creationTime)
The time at which the alert was created.
|
void |
setLastModificationTime(Date lastModificationTime)
The time at which the alert was last modified.
|
void |
setTags(Map<String,String> tags)
The alert's tags.
|
String |
toString()
Returns a string representation of this object.
|
AlertSummary |
withAlertArn(String alertArn)
The ARN of the alert.
|
AlertSummary |
withAlertName(String alertName)
The name of the alert.
|
AlertSummary |
withAlertSensitivityThreshold(Integer alertSensitivityThreshold)
The minimum severity for an anomaly to trigger the alert.
|
AlertSummary |
withAlertStatus(AlertStatus alertStatus)
The status of the alert.
|
AlertSummary |
withAlertStatus(String alertStatus)
The status of the alert.
|
AlertSummary |
withAlertType(AlertType alertType)
The type of the alert.
|
AlertSummary |
withAlertType(String alertType)
The type of the alert.
|
AlertSummary |
withAnomalyDetectorArn(String anomalyDetectorArn)
The ARN of the detector to which the alert is attached.
|
AlertSummary |
withCreationTime(Date creationTime)
The time at which the alert was created.
|
AlertSummary |
withLastModificationTime(Date lastModificationTime)
The time at which the alert was last modified.
|
AlertSummary |
withTags(Map<String,String> tags)
The alert's tags.
|
public void setAlertArn(String alertArn)
The ARN of the alert.
alertArn
- The ARN of the alert.public String getAlertArn()
The ARN of the alert.
public AlertSummary withAlertArn(String alertArn)
The ARN of the alert.
alertArn
- The ARN of the alert.public void setAnomalyDetectorArn(String anomalyDetectorArn)
The ARN of the detector to which the alert is attached.
anomalyDetectorArn
- The ARN of the detector to which the alert is attached.public String getAnomalyDetectorArn()
The ARN of the detector to which the alert is attached.
public AlertSummary withAnomalyDetectorArn(String anomalyDetectorArn)
The ARN of the detector to which the alert is attached.
anomalyDetectorArn
- The ARN of the detector to which the alert is attached.public void setAlertName(String alertName)
The name of the alert.
alertName
- The name of the alert.public String getAlertName()
The name of the alert.
public AlertSummary withAlertName(String alertName)
The name of the alert.
alertName
- The name of the alert.public void setAlertSensitivityThreshold(Integer alertSensitivityThreshold)
The minimum severity for an anomaly to trigger the alert.
alertSensitivityThreshold
- The minimum severity for an anomaly to trigger the alert.public Integer getAlertSensitivityThreshold()
The minimum severity for an anomaly to trigger the alert.
public AlertSummary withAlertSensitivityThreshold(Integer alertSensitivityThreshold)
The minimum severity for an anomaly to trigger the alert.
alertSensitivityThreshold
- The minimum severity for an anomaly to trigger the alert.public void setAlertType(String alertType)
The type of the alert.
alertType
- The type of the alert.AlertType
public String getAlertType()
The type of the alert.
AlertType
public AlertSummary withAlertType(String alertType)
The type of the alert.
alertType
- The type of the alert.AlertType
public AlertSummary withAlertType(AlertType alertType)
The type of the alert.
alertType
- The type of the alert.AlertType
public void setAlertStatus(String alertStatus)
The status of the alert.
alertStatus
- The status of the alert.AlertStatus
public String getAlertStatus()
The status of the alert.
AlertStatus
public AlertSummary withAlertStatus(String alertStatus)
The status of the alert.
alertStatus
- The status of the alert.AlertStatus
public AlertSummary withAlertStatus(AlertStatus alertStatus)
The status of the alert.
alertStatus
- The status of the alert.AlertStatus
public void setLastModificationTime(Date lastModificationTime)
The time at which the alert was last modified.
lastModificationTime
- The time at which the alert was last modified.public Date getLastModificationTime()
The time at which the alert was last modified.
public AlertSummary withLastModificationTime(Date lastModificationTime)
The time at which the alert was last modified.
lastModificationTime
- The time at which the alert was last modified.public void setCreationTime(Date creationTime)
The time at which the alert was created.
creationTime
- The time at which the alert was created.public Date getCreationTime()
The time at which the alert was created.
public AlertSummary withCreationTime(Date creationTime)
The time at which the alert was created.
creationTime
- The time at which the alert was created.public void setTags(Map<String,String> tags)
The alert's tags.
tags
- The alert's tags.public AlertSummary withTags(Map<String,String> tags)
The alert's tags.
tags
- The alert's tags.public AlertSummary addTagsEntry(String key, String value)
public AlertSummary clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public AlertSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.