Interface CreateContactListRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateContactListRequest.Builder,CreateContactListRequest>,SdkBuilder<CreateContactListRequest.Builder,CreateContactListRequest>,SdkPojo,SdkRequest.Builder,SesV2Request.Builder
- Enclosing class:
- CreateContactListRequest
public static interface CreateContactListRequest.Builder extends SesV2Request.Builder, SdkPojo, CopyableBuilder<CreateContactListRequest.Builder,CreateContactListRequest>
-
-
Method Summary
-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Request.Builder
build
-
-
-
-
Method Detail
-
contactListName
CreateContactListRequest.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.
-
topics
CreateContactListRequest.Builder topics(Collection<Topic> 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
CreateContactListRequest.Builder topics(Topic... 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
CreateContactListRequest.Builder topics(Consumer<Topic.Builder>... 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 to#topics(List.) - 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:
#topics(java.util.Collection)
-
description
CreateContactListRequest.Builder description(String 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.
-
tags
CreateContactListRequest.Builder tags(Collection<Tag> tags)
The tags associated with a contact list.
- Parameters:
tags- The tags associated with a contact list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateContactListRequest.Builder tags(Tag... tags)
The tags associated with a contact list.
- Parameters:
tags- The tags associated with a contact list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateContactListRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags associated with a contact list.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateContactListRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateContactListRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-