Interface CreateContactRequest.Builder

    • Method Detail

      • contactListName

        CreateContactRequest.Builder contactListName​(String contactListName)

        The name of the contact list to which the contact should be added.

        Parameters:
        contactListName - The name of the contact list to which the contact should be added.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • emailAddress

        CreateContactRequest.Builder emailAddress​(String emailAddress)

        The contact's email address.

        Parameters:
        emailAddress - The contact's email address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • topicPreferences

        CreateContactRequest.Builder topicPreferences​(Collection<TopicPreference> topicPreferences)

        The contact's preferences for being opted-in to or opted-out of topics.

        Parameters:
        topicPreferences - The contact's preferences for being opted-in to or opted-out of topics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • topicPreferences

        CreateContactRequest.Builder topicPreferences​(TopicPreference... topicPreferences)

        The contact's preferences for being opted-in to or opted-out of topics.

        Parameters:
        topicPreferences - The contact's preferences for being opted-in to or opted-out of topics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unsubscribeAll

        CreateContactRequest.Builder unsubscribeAll​(Boolean unsubscribeAll)

        A boolean value status noting if the contact is unsubscribed from all contact list topics.

        Parameters:
        unsubscribeAll - A boolean value status noting if the contact is unsubscribed from all contact list topics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributesData

        CreateContactRequest.Builder attributesData​(String attributesData)

        The attribute data attached to a contact.

        Parameters:
        attributesData - The attribute data attached to a contact.
        Returns:
        Returns a reference to this object so that method calls can be chained together.