Interface Topic.Builder

    • Method Detail

      • topicName

        Topic.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.
      • displayName

        Topic.Builder displayName​(String displayName)

        The name of the topic the contact will see.

        Parameters:
        displayName - The name of the topic the contact will see.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        Topic.Builder description​(String description)

        A description of what the topic is about, which the contact will see.

        Parameters:
        description - A description of what the topic is about, which the contact will see.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultSubscriptionStatus

        Topic.Builder defaultSubscriptionStatus​(String defaultSubscriptionStatus)

        The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.

        Parameters:
        defaultSubscriptionStatus - The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SubscriptionStatus, SubscriptionStatus
      • defaultSubscriptionStatus

        Topic.Builder defaultSubscriptionStatus​(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.

        Parameters:
        defaultSubscriptionStatus - The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SubscriptionStatus, SubscriptionStatus