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 Details

    • 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_IN or OPT_OUT.

      Parameters:
      subscriptionStatus - The contact's subscription status to a topic which is either OPT_IN or OPT_OUT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • subscriptionStatus

      TopicPreference.Builder subscriptionStatus(SubscriptionStatus subscriptionStatus)

      The contact's subscription status to a topic which is either OPT_IN or OPT_OUT.

      Parameters:
      subscriptionStatus - The contact's subscription status to a topic which is either OPT_IN or OPT_OUT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: