@Generated(value="software.amazon.awssdk:codegen") public final class NotificationOutput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NotificationOutput.Builder,NotificationOutput>
The details of a notification generated in Amazon DataZone.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NotificationOutput.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
actionLink()
The action link included in the notification.
|
static NotificationOutput.Builder |
builder() |
Instant |
creationTimestamp()
The timestamp of when a notification was created.
|
String |
domainIdentifier()
The identifier of a Amazon DataZone domain in which the notification exists.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasMetadata()
For responses, this returns true if the service returned a value for the Metadata property.
|
String |
identifier()
The identifier of the notification.
|
Instant |
lastUpdatedTimestamp()
The timestamp of when the notification was last updated.
|
String |
message()
The message included in the notification.
|
Map<String,String> |
metadata()
The metadata included in the notification.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NotificationOutput.Builder> |
serializableBuilderClass() |
TaskStatus |
status()
The status included in the notification.
|
String |
statusAsString()
The status included in the notification.
|
String |
title()
The title of the notification.
|
NotificationOutput.Builder |
toBuilder() |
Topic |
topic()
The topic of the notification.
|
String |
toString()
Returns a string representation of this object.
|
NotificationType |
type()
The type of the notification.
|
String |
typeAsString()
The type of the notification.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String actionLink()
The action link included in the notification.
public final Instant creationTimestamp()
The timestamp of when a notification was created.
public final String domainIdentifier()
The identifier of a Amazon DataZone domain in which the notification exists.
public final String identifier()
The identifier of the notification.
public final Instant lastUpdatedTimestamp()
The timestamp of when the notification was last updated.
public final String message()
The message included in the notification.
public final boolean hasMetadata()
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 Map<String,String> metadata()
The metadata included in the notification.
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 hasMetadata() method.
public final TaskStatus status()
The status included in the notification.
If the service returns an enum value that is not available in the current SDK version, status will
return TaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
TaskStatuspublic final String statusAsString()
The status included in the notification.
If the service returns an enum value that is not available in the current SDK version, status will
return TaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
TaskStatuspublic final String title()
The title of the notification.
public final Topic topic()
The topic of the notification.
public final NotificationType type()
The type of the notification.
If the service returns an enum value that is not available in the current SDK version, type will return
NotificationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
NotificationTypepublic final String typeAsString()
The type of the notification.
If the service returns an enum value that is not available in the current SDK version, type will return
NotificationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
NotificationTypepublic NotificationOutput.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NotificationOutput.Builder,NotificationOutput>public static NotificationOutput.Builder builder()
public static Class<? extends NotificationOutput.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.