Class Topic
- java.lang.Object
-
- software.amazon.awssdk.services.datazone.model.Topic
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Topic.Builder,Topic>
@Generated("software.amazon.awssdk:codegen") public final class Topic extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Topic.Builder,Topic>
The topic of the notification.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTopic.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Topic.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()NotificationResourceresource()Returns the value of the Resource property for this object.NotificationRolerole()The role of the resource mentioned in a notification.StringroleAsString()The role of the resource mentioned in a notification.List<SdkField<?>>sdkFields()static Class<? extends Topic.Builder>serializableBuilderClass()Stringsubject()The subject of the resource mentioned in a notification.Topic.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
resource
public final NotificationResource resource()
Returns the value of the Resource property for this object.- Returns:
- The value of the Resource property for this object.
-
role
public final NotificationRole role()
The role of the resource mentioned in a notification.
If the service returns an enum value that is not available in the current SDK version,
rolewill returnNotificationRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromroleAsString().- Returns:
- The role of the resource mentioned in a notification.
- See Also:
NotificationRole
-
roleAsString
public final String roleAsString()
The role of the resource mentioned in a notification.
If the service returns an enum value that is not available in the current SDK version,
rolewill returnNotificationRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromroleAsString().- Returns:
- The role of the resource mentioned in a notification.
- See Also:
NotificationRole
-
subject
public final String subject()
The subject of the resource mentioned in a notification.
- Returns:
- The subject of the resource mentioned in a notification.
-
toBuilder
public Topic.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Topic.Builder,Topic>
-
builder
public static Topic.Builder builder()
-
serializableBuilderClass
public static Class<? extends Topic.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.
-
-