Interface TopicPreference.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TopicPreference.Builder,TopicPreference>,SdkBuilder<TopicPreference.Builder,TopicPreference>,SdkPojo
- Enclosing class:
- TopicPreference
public static interface TopicPreference.Builder extends SdkPojo, CopyableBuilder<TopicPreference.Builder,TopicPreference>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TopicPreference.BuildersubscriptionStatus(String subscriptionStatus)The contact's subscription status to a topic which is eitherOPT_INorOPT_OUT.TopicPreference.BuildersubscriptionStatus(SubscriptionStatus subscriptionStatus)The contact's subscription status to a topic which is eitherOPT_INorOPT_OUT.TopicPreference.BuildertopicName(String topicName)The name of the topic.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
topicName
TopicPreference.Builder topicName(String topicName)
The name of the topic.
- Parameters:
topicName- The name of the topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptionStatus
TopicPreference.Builder subscriptionStatus(String subscriptionStatus)
The contact's subscription status to a topic which is either
OPT_INorOPT_OUT.- Parameters:
subscriptionStatus- The contact's subscription status to a topic which is eitherOPT_INorOPT_OUT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SubscriptionStatus,SubscriptionStatus
-
subscriptionStatus
TopicPreference.Builder subscriptionStatus(SubscriptionStatus subscriptionStatus)
The contact's subscription status to a topic which is either
OPT_INorOPT_OUT.- Parameters:
subscriptionStatus- The contact's subscription status to a topic which is eitherOPT_INorOPT_OUT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SubscriptionStatus,SubscriptionStatus
-
-