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 method that creates an instance of theTopicPreference.Builder avoiding the need to create one
manually via TopicPreference.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #topicPreferences(List.
topicPreferences - a consumer that will call methods on
TopicPreference.Builder#topicPreferences(java.util.Collection) 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 method that creates an instance of theTopicPreference.Builder avoiding the need to create one
manually via TopicPreference.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #topicDefaultPreferences(List.
topicDefaultPreferences - a consumer that will call methods on
TopicPreference.Builder#topicDefaultPreferences(java.util.Collection) 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 © 2022. All rights reserved.