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.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateContactRequest.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 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)
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.Builder
CreateContactRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.