public static interface GetContactResponse.Builder extends SesV2Response.Builder, SdkPojo, CopyableBuilder<GetContactResponse.Builder,GetContactResponse>
| Modifier and Type | Method and Description |
|---|---|
GetContactResponse.Builder |
attributesData(String attributesData)
The attribute data attached to a contact.
|
GetContactResponse.Builder |
contactListName(String contactListName)
The name of the contact list to which the contact belongs.
|
GetContactResponse.Builder |
createdTimestamp(Instant createdTimestamp)
A timestamp noting when the contact was created.
|
GetContactResponse.Builder |
emailAddress(String emailAddress)
The contact's email address.
|
GetContactResponse.Builder |
lastUpdatedTimestamp(Instant lastUpdatedTimestamp)
A timestamp noting the last time the contact's information was updated.
|
GetContactResponse.Builder |
topicDefaultPreferences(Collection<TopicPreference> topicDefaultPreferences)
The default topic preferences applied to the contact.
|
GetContactResponse.Builder |
topicDefaultPreferences(Consumer<TopicPreference.Builder>... topicDefaultPreferences)
The default topic preferences applied to the contact.
|
GetContactResponse.Builder |
topicDefaultPreferences(TopicPreference... topicDefaultPreferences)
The default topic preferences applied to the contact.
|
GetContactResponse.Builder |
topicPreferences(Collection<TopicPreference> topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.>
|
GetContactResponse.Builder |
topicPreferences(Consumer<TopicPreference.Builder>... topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.>
|
GetContactResponse.Builder |
topicPreferences(TopicPreference... topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.>
|
GetContactResponse.Builder |
unsubscribeAll(Boolean unsubscribeAll)
A boolean value status noting if the contact is unsubscribed from all contact list topics.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetContactResponse.Builder contactListName(String contactListName)
The name of the contact list to which the contact belongs.
contactListName - The name of the contact list to which the contact belongs.GetContactResponse.Builder emailAddress(String emailAddress)
The contact's email address.
emailAddress - The contact's email address.GetContactResponse.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.>GetContactResponse.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.>GetContactResponse.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) GetContactResponse.Builder topicDefaultPreferences(Collection<TopicPreference> topicDefaultPreferences)
The default topic preferences applied to the contact.
topicDefaultPreferences - The default topic preferences applied to the contact.GetContactResponse.Builder topicDefaultPreferences(TopicPreference... topicDefaultPreferences)
The default topic preferences applied to the contact.
topicDefaultPreferences - The default topic preferences applied to the contact.GetContactResponse.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) GetContactResponse.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.GetContactResponse.Builder attributesData(String attributesData)
The attribute data attached to a contact.
attributesData - The attribute data attached to a contact.GetContactResponse.Builder createdTimestamp(Instant createdTimestamp)
A timestamp noting when the contact was created.
createdTimestamp - A timestamp noting when the contact was created.GetContactResponse.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 © 2023. All rights reserved.