Interface UpdateContactListRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateContactListRequest.Builder,,UpdateContactListRequest> SdkBuilder<UpdateContactListRequest.Builder,,UpdateContactListRequest> SdkPojo,SdkRequest.Builder,SesV2Request.Builder
- Enclosing class:
UpdateContactListRequest
public static interface UpdateContactListRequest.Builder
extends SesV2Request.Builder, SdkPojo, CopyableBuilder<UpdateContactListRequest.Builder,UpdateContactListRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncontactListName(String contactListName) The name of the contact list.description(String description) A description of what the contact list is about.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.topics(Collection<Topic> topics) An interest group, theme, or label within a list.topics(Consumer<Topic.Builder>... topics) An interest group, theme, or label within a list.An interest group, theme, or label within a list.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Request.Builder
build
-
Method Details
-
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.
-
topics
An interest group, theme, or label within a list. A contact list can have multiple topics.
- Parameters:
topics- An interest group, theme, or label within a list. A contact list can have multiple topics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topics
An interest group, theme, or label within a list. A contact list can have multiple topics.
- Parameters:
topics- An interest group, theme, or label within a list. A contact list can have multiple topics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topics
An interest group, theme, or label within a list. A contact list can have multiple topics.
This is a convenience method that creates an instance of theTopic.Builderavoiding the need to create one manually viaTopic.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totopics(List<Topic>).- Parameters:
topics- a consumer that will call methods onTopic.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A description of what the contact list is about.
- Parameters:
description- A description of what the contact list is about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateContactListRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateContactListRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-