@Generated(value="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.
Modifier and Type | Class and Description |
---|---|
static interface |
Topic.Builder |
Modifier and Type | Method and 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() |
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.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String topicName()
The name of the topic.
public final String displayName()
The name of the topic the contact will see.
public final String description()
A description of what the topic is about, which the contact will see.
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 return SubscriptionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from defaultSubscriptionStatusAsString()
.
SubscriptionStatus
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 return SubscriptionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from defaultSubscriptionStatusAsString()
.
SubscriptionStatus
public Topic.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<Topic.Builder,Topic>
public static Topic.Builder builder()
public static Class<? extends Topic.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.