Class NotificationResource
- java.lang.Object
-
- software.amazon.awssdk.services.datazone.model.NotificationResource
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NotificationResource.Builder,NotificationResource>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNotificationResource.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NotificationResource.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the resource mentioned in a notification.Stringname()The name of the resource mentioned in a notification.List<SdkField<?>>sdkFields()static Class<? extends NotificationResource.Builder>serializableBuilderClass()NotificationResource.BuildertoBuilder()StringtoString()Returns a string representation of this object.NotificationResourceTypetype()The type of the resource mentioned in a notification.StringtypeAsString()The type of the resource mentioned in a notification.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final String id()
The ID of the resource mentioned in a notification.
- Returns:
- The ID of the resource mentioned in a notification.
-
name
public final String name()
The name of the resource mentioned in a notification.
- Returns:
- The name of the resource mentioned in a notification.
-
type
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,
typewill returnNotificationResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the resource mentioned in a notification.
- See Also:
NotificationResourceType
-
typeAsString
public 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,
typewill returnNotificationResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the resource mentioned in a notification.
- See Also:
NotificationResourceType
-
toBuilder
public NotificationResource.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NotificationResource.Builder,NotificationResource>
-
builder
public static NotificationResource.Builder builder()
-
serializableBuilderClass
public static Class<? extends NotificationResource.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-