Interface UpdateContactRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateContactRequest.Builder,UpdateContactRequest>
,SdkBuilder<UpdateContactRequest.Builder,UpdateContactRequest>
,SdkPojo
,SdkRequest.Builder
,SesV2Request.Builder
- Enclosing class:
- UpdateContactRequest
public static interface UpdateContactRequest.Builder extends SesV2Request.Builder, SdkPojo, CopyableBuilder<UpdateContactRequest.Builder,UpdateContactRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateContactRequest.Builder
attributesData(String attributesData)
The attribute data attached to a contact.UpdateContactRequest.Builder
contactListName(String contactListName)
The name of the contact list.UpdateContactRequest.Builder
emailAddress(String emailAddress)
The contact's email address.UpdateContactRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateContactRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
UpdateContactRequest.Builder
topicPreferences(Collection<TopicPreference> topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.UpdateContactRequest.Builder
topicPreferences(Consumer<TopicPreference.Builder>... topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.UpdateContactRequest.Builder
topicPreferences(TopicPreference... topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.UpdateContactRequest.Builder
unsubscribeAll(Boolean unsubscribeAll)
A boolean value status noting if the contact is unsubscribed from all contact list topics.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Request.Builder
build
-
-
-
-
Method Detail
-
contactListName
UpdateContactRequest.Builder contactListName(String contactListName)
The name of the contact list.
- Parameters:
contactListName
- The name of the contact list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailAddress
UpdateContactRequest.Builder emailAddress(String emailAddress)
The contact's email address.
- Parameters:
emailAddress
- The contact's email address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicPreferences
UpdateContactRequest.Builder topicPreferences(Collection<TopicPreference> topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.
- Parameters:
topicPreferences
- The contact's preference for being opted-in to or opted-out of a topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicPreferences
UpdateContactRequest.Builder topicPreferences(TopicPreference... topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.
- Parameters:
topicPreferences
- The contact's preference for being opted-in to or opted-out of a topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicPreferences
UpdateContactRequest.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 viaTopicPreference.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#topicPreferences(List
.) - Parameters:
topicPreferences
- a consumer that will call methods onTopicPreference.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#topicPreferences(java.util.Collection
)
-
unsubscribeAll
UpdateContactRequest.Builder unsubscribeAll(Boolean unsubscribeAll)
A boolean value status noting if the contact is unsubscribed from all contact list topics.
- Parameters:
unsubscribeAll
- A boolean value status noting if the contact is unsubscribed from all contact list topics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributesData
UpdateContactRequest.Builder attributesData(String attributesData)
The attribute data attached to a contact.
- Parameters:
attributesData
- The attribute data attached to a contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateContactRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateContactRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-