public static interface Contact.Builder extends SdkPojo, CopyableBuilder<Contact.Builder,Contact>
| Modifier and Type | Method and Description |
|---|---|
Contact.Builder |
emailAddress(String emailAddress)
The contact's email address.
|
Contact.Builder |
lastUpdatedTimestamp(Instant lastUpdatedTimestamp)
A timestamp noting the last time the contact's information was updated.
|
Contact.Builder |
topicDefaultPreferences(Collection<TopicPreference> topicDefaultPreferences)
The default topic preferences applied to the contact.
|
Contact.Builder |
topicDefaultPreferences(Consumer<TopicPreference.Builder>... topicDefaultPreferences)
The default topic preferences applied to the contact.
|
Contact.Builder |
topicDefaultPreferences(TopicPreference... topicDefaultPreferences)
The default topic preferences applied to the contact.
|
Contact.Builder |
topicPreferences(Collection<TopicPreference> topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.
|
Contact.Builder |
topicPreferences(Consumer<TopicPreference.Builder>... topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.
|
Contact.Builder |
topicPreferences(TopicPreference... topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.
|
Contact.Builder |
unsubscribeAll(Boolean unsubscribeAll)
A boolean value status noting if the contact is unsubscribed from all contact list topics.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildContact.Builder emailAddress(String emailAddress)
The contact's email address.
emailAddress - The contact's email address.Contact.Builder topicPreferences(Collection<TopicPreference> topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.
topicPreferences - The contact's preference for being opted-in to or opted-out of a topic.Contact.Builder topicPreferences(TopicPreference... topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.
topicPreferences - The contact's preference for being opted-in to or opted-out of a topic.Contact.Builder topicPreferences(Consumer<TopicPreference.Builder>... topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.
This is a convenience that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #topicPreferences(List) .topicPreferences - a consumer that will call methods on List.Builder #topicPreferences(List) Contact.Builder topicDefaultPreferences(Collection<TopicPreference> topicDefaultPreferences)
The default topic preferences applied to the contact.
topicDefaultPreferences - The default topic preferences applied to the contact.Contact.Builder topicDefaultPreferences(TopicPreference... topicDefaultPreferences)
The default topic preferences applied to the contact.
topicDefaultPreferences - The default topic preferences applied to the contact.Contact.Builder topicDefaultPreferences(Consumer<TopicPreference.Builder>... topicDefaultPreferences)
The default topic preferences applied to the contact.
This is a convenience that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #topicDefaultPreferences(List) .topicDefaultPreferences - a consumer that will call methods on List.Builder #topicDefaultPreferences(List) Contact.Builder unsubscribeAll(Boolean unsubscribeAll)
A boolean value status noting if the contact is unsubscribed from all contact list topics.
unsubscribeAll - A boolean value status noting if the contact is unsubscribed from all contact list topics.Contact.Builder lastUpdatedTimestamp(Instant lastUpdatedTimestamp)
A timestamp noting the last time the contact's information was updated.
lastUpdatedTimestamp - A timestamp noting the last time the contact's information was updated.Copyright © 2021. All rights reserved.