Interface UpdateContactRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<UpdateContactRequest.Builder,,- UpdateContactRequest> - SdkBuilder<UpdateContactRequest.Builder,,- UpdateContactRequest> - SdkPojo,- SdkRequest.Builder,- SesV2Request.Builder
- Enclosing class:
- UpdateContactRequest
@Mutable
@NotThreadSafe
public static interface UpdateContactRequest.Builder
extends SesV2Request.Builder, SdkPojo, CopyableBuilder<UpdateContactRequest.Builder,UpdateContactRequest> 
- 
Method SummaryModifier and TypeMethodDescriptionattributesData(String attributesData) The attribute data attached to a contact.contactListName(String contactListName) The name of the contact list.emailAddress(String emailAddress) The contact's email address.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.topicPreferences(Collection<TopicPreference> topicPreferences) The contact's preference for being opted-in to or opted-out of a topic.topicPreferences(Consumer<TopicPreference.Builder>... topicPreferences) The contact's preference for being opted-in to or opted-out of a topic.topicPreferences(TopicPreference... topicPreferences) The contact's preference for being opted-in to or opted-out of a topic.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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Request.Builderbuild
- 
Method Details- 
contactListNameThe 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.
 
- 
emailAddressThe 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.
 
- 
topicPreferencesThe 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.
 
- 
topicPreferencesThe 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.
 
- 
topicPreferencesUpdateContactRequest.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.Builderavoiding the need to create one manually viaTopicPreference.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totopicPreferences(List<TopicPreference>).- Parameters:
- topicPreferences- a consumer that will call methods on- TopicPreference.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
unsubscribeAllA 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.
 
- 
attributesDataThe 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.
 
- 
overrideConfigurationUpdateContactRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationUpdateContactRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-