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
Modifier and TypeMethodDescriptionsubscriptionStatus
(String subscriptionStatus) The contact's subscription status to a topic which is eitherOPT_IN
orOPT_OUT
.subscriptionStatus
(SubscriptionStatus subscriptionStatus) The contact's subscription status to a topic which is eitherOPT_IN
orOPT_OUT
.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, sdkFields
-
Method Details
-
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
The contact's subscription status to a topic which is either
OPT_IN
orOPT_OUT
.- Parameters:
subscriptionStatus
- The contact's subscription status to a topic which is eitherOPT_IN
orOPT_OUT
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subscriptionStatus
The contact's subscription status to a topic which is either
OPT_IN
orOPT_OUT
.- Parameters:
subscriptionStatus
- The contact's subscription status to a topic which is eitherOPT_IN
orOPT_OUT
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-