@Generated(value="software.amazon.awssdk:codegen") public final class Alert extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Alert.Builder,Alert>
Alert configuration parameters.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Alert.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
alertCode()
The code for the alert.
|
String |
alertMessage()
If an alert is generated for a resource, an explanation of the reason for the alert.
|
static Alert.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasRelatedResourceArns()
For responses, this returns true if the service returned a value for the RelatedResourceArns property.
|
Instant |
lastModifiedTime()
The timestamp when the alert was last modified.
|
List<String> |
relatedResourceArns()
The Amazon Resource Names (ARNs) related to this alert.
|
String |
resourceArn()
The Amazon Resource Name (ARN) of the resource.
|
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 String alertCode()
The code for the alert. For example, NOT_PROCESSED.
NOT_PROCESSED.public final String alertMessage()
If an alert is generated for a resource, an explanation of the reason for the alert.
public final Instant lastModifiedTime()
The timestamp when the alert was last modified.
public final boolean hasRelatedResourceArns()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> relatedResourceArns()
The Amazon Resource Names (ARNs) related to this alert.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRelatedResourceArns() method.
public final String resourceArn()
The Amazon Resource Name (ARN) of the resource.
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 © 2022. All rights reserved.