@Generated(value="software.amazon.awssdk:codegen") public final class NotificationResource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NotificationResource.Builder,NotificationResource>
The details of the resource mentioned in a notification.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NotificationResource.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NotificationResource.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the resource mentioned in a notification.
|
String |
name()
The name of the resource mentioned in a notification.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NotificationResource.Builder> |
serializableBuilderClass() |
NotificationResource.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
NotificationResourceType |
type()
The type of the resource mentioned in a notification.
|
String |
typeAsString()
The type of the resource mentioned in a notification.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The ID of the resource mentioned in a notification.
public final String name()
The name of the resource mentioned in a notification.
public final NotificationResourceType type()
The type of the resource mentioned in a notification.
If the service returns an enum value that is not available in the current SDK version, type will return
NotificationResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
NotificationResourceTypepublic final String typeAsString()
The type of the resource mentioned in a notification.
If the service returns an enum value that is not available in the current SDK version, type will return
NotificationResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
NotificationResourceTypepublic NotificationResource.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NotificationResource.Builder,NotificationResource>public static NotificationResource.Builder builder()
public static Class<? extends NotificationResource.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.