Interface ListContactsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListContactsRequest.Builder,,ListContactsRequest> SdkBuilder<ListContactsRequest.Builder,,ListContactsRequest> SdkPojo,SdkRequest.Builder,SesV2Request.Builder
- Enclosing class:
ListContactsRequest
-
Method Summary
Modifier and TypeMethodDescriptioncontactListName(String contactListName) The name of the contact list.default ListContactsRequest.Builderfilter(Consumer<ListContactsFilter.Builder> filter) A filter that can be applied to a list of contacts.filter(ListContactsFilter filter) A filter that can be applied to a list of contacts.A string token indicating that there might be additional contacts available to be listed.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The number of contacts that may be returned at once, which is dependent on if there are more or less contacts than the value of the PageSize.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, 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.
-
filter
A filter that can be applied to a list of contacts.
- Parameters:
filter- A filter that can be applied to a list of contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
A filter that can be applied to a list of contacts.
This is a convenience method that creates an instance of theListContactsFilter.Builderavoiding the need to create one manually viaListContactsFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(ListContactsFilter).- Parameters:
filter- a consumer that will call methods onListContactsFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pageSize
The number of contacts that may be returned at once, which is dependent on if there are more or less contacts than the value of the PageSize. Use this parameter to paginate results. If additional contacts exist beyond the specified limit, the
NextTokenelement is sent in the response. Use theNextTokenvalue in subsequent requests to retrieve additional contacts.- Parameters:
pageSize- The number of contacts that may be returned at once, which is dependent on if there are more or less contacts than the value of the PageSize. Use this parameter to paginate results. If additional contacts exist beyond the specified limit, theNextTokenelement is sent in the response. Use theNextTokenvalue in subsequent requests to retrieve additional contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A string token indicating that there might be additional contacts available to be listed. Use the token provided in the Response to use in the subsequent call to ListContacts with the same parameters to retrieve the next page of contacts.
- Parameters:
nextToken- A string token indicating that there might be additional contacts available to be listed. Use the token provided in the Response to use in the subsequent call to ListContacts with the same parameters to retrieve the next page of contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListContactsRequest.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
ListContactsRequest.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.
-