public static interface CreateContactRequest.Builder extends SesV2Request.Builder, SdkPojo, CopyableBuilder<CreateContactRequest.Builder,CreateContactRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateContactRequest.Builder |
attributesData(String attributesData)
The attribute data attached to a contact.
|
CreateContactRequest.Builder |
contactListName(String contactListName)
The name of the contact list to which the contact should be added.
|
CreateContactRequest.Builder |
emailAddress(String emailAddress)
The contact's email address.
|
CreateContactRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateContactRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateContactRequest.Builder |
topicPreferences(Collection<TopicPreference> topicPreferences)
The contact's preferences for being opted-in to or opted-out of topics.
|
CreateContactRequest.Builder |
topicPreferences(Consumer<TopicPreference.Builder>... topicPreferences)
The contact's preferences for being opted-in to or opted-out of topics.
|
CreateContactRequest.Builder |
topicPreferences(TopicPreference... topicPreferences)
The contact's preferences for being opted-in to or opted-out of topics.
|
CreateContactRequest.Builder |
unsubscribeAll(Boolean unsubscribeAll)
A boolean value status noting if the contact is unsubscribed from all contact list topics.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateContactRequest.Builder contactListName(String contactListName)
The name of the contact list to which the contact should be added.
contactListName - The name of the contact list to which the contact should be added.CreateContactRequest.Builder emailAddress(String emailAddress)
The contact's email address.
emailAddress - The contact's email address.CreateContactRequest.Builder topicPreferences(Collection<TopicPreference> topicPreferences)
The contact's preferences for being opted-in to or opted-out of topics.
topicPreferences - The contact's preferences for being opted-in to or opted-out of topics.CreateContactRequest.Builder topicPreferences(TopicPreference... topicPreferences)
The contact's preferences for being opted-in to or opted-out of topics.
topicPreferences - The contact's preferences for being opted-in to or opted-out of topics.CreateContactRequest.Builder topicPreferences(Consumer<TopicPreference.Builder>... topicPreferences)
The contact's preferences for being opted-in to or opted-out of topics.
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) CreateContactRequest.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.CreateContactRequest.Builder attributesData(String attributesData)
The attribute data attached to a contact.
attributesData - The attribute data attached to a contact.CreateContactRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateContactRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.