@Generated(value="software.amazon.awssdk:codegen") public final class Alert extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Alert.Builder,Alert>
A configuration for Amazon SNS-integrated notifications.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Alert.Builder |
| Modifier and Type | Method and Description |
|---|---|
Action |
action()
Action that will be triggered when there is an alert.
|
String |
alertArn()
The ARN of the alert.
|
String |
alertDescription()
A description of the alert.
|
AlertFilters |
alertFilters()
The configuration of the alert filters, containing MetricList and DimensionFilter.
|
String |
alertName()
The name of the alert.
|
Integer |
alertSensitivityThreshold()
The minimum severity for an anomaly to trigger the alert.
|
AlertStatus |
alertStatus()
The status of the alert.
|
String |
alertStatusAsString()
The status of the alert.
|
AlertType |
alertType()
The type of the alert.
|
String |
alertTypeAsString()
The type of the alert.
|
String |
anomalyDetectorArn()
The ARN of the detector to which the alert is attached.
|
static Alert.Builder |
builder() |
Instant |
creationTime()
The time at which the alert was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastModificationTime()
The time at which the alert was last modified.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Alert.Builder> |
serializableBuilderClass() |
Alert.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Action action()
Action that will be triggered when there is an alert.
public final String alertDescription()
A description of the alert.
public final String alertArn()
The ARN of the alert.
public final String anomalyDetectorArn()
The ARN of the detector to which the alert is attached.
public final String alertName()
The name of the alert.
public final Integer alertSensitivityThreshold()
The minimum severity for an anomaly to trigger the alert.
public final AlertType alertType()
The type of the alert.
If the service returns an enum value that is not available in the current SDK version, alertType will
return AlertType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
alertTypeAsString().
AlertTypepublic final String alertTypeAsString()
The type of the alert.
If the service returns an enum value that is not available in the current SDK version, alertType will
return AlertType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
alertTypeAsString().
AlertTypepublic final AlertStatus alertStatus()
The status of the alert.
If the service returns an enum value that is not available in the current SDK version, alertStatus will
return AlertStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
alertStatusAsString().
AlertStatuspublic final String alertStatusAsString()
The status of the alert.
If the service returns an enum value that is not available in the current SDK version, alertStatus will
return AlertStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
alertStatusAsString().
AlertStatuspublic final Instant lastModificationTime()
The time at which the alert was last modified.
public final Instant creationTime()
The time at which the alert was created.
public final AlertFilters alertFilters()
The configuration of the alert filters, containing MetricList and DimensionFilter.
public Alert.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Alert.Builder,Alert>public static Alert.Builder builder()
public static Class<? extends Alert.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.