Interface TopicPreference.Builder

    • 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_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, SubscriptionStatus
      • 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:
        SubscriptionStatus, SubscriptionStatus