Class Topic
- java.lang.Object
-
- software.amazon.awssdk.services.sesv2.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>
An interest group, theme, or label within a list. Lists can have multiple topics.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Topic.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Topic.Builder
builder()
SubscriptionStatus
defaultSubscriptionStatus()
The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.String
defaultSubscriptionStatusAsString()
The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.String
description()
A description of what the topic is about, which the contact will see.String
displayName()
The name of the topic the contact will see.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends Topic.Builder>
serializableBuilderClass()
Topic.Builder
toBuilder()
String
topicName()
The name of the topic.String
toString()
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
-
topicName
public final String topicName()
The name of the topic.
- Returns:
- The name of the topic.
-
displayName
public final String displayName()
The name of the topic the contact will see.
- Returns:
- The name of the topic the contact will see.
-
description
public final String description()
A description of what the topic is about, which the contact will see.
- Returns:
- A description of what the topic is about, which the contact will see.
-
defaultSubscriptionStatus
public final SubscriptionStatus defaultSubscriptionStatus()
The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.
If the service returns an enum value that is not available in the current SDK version,
defaultSubscriptionStatus
will returnSubscriptionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdefaultSubscriptionStatusAsString()
.- Returns:
- The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.
- See Also:
SubscriptionStatus
-
defaultSubscriptionStatusAsString
public final String defaultSubscriptionStatusAsString()
The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.
If the service returns an enum value that is not available in the current SDK version,
defaultSubscriptionStatus
will returnSubscriptionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdefaultSubscriptionStatusAsString()
.- Returns:
- The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.
- See Also:
SubscriptionStatus
-
toBuilder
public Topic.Builder toBuilder()
- Specified by:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-