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.Builder
filter
(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
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 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.Builder
avoiding the need to create one manually viaListContactsFilter.builder()
.When the
Consumer
completes,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
NextToken
element is sent in the response. Use theNextToken
value 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, theNextToken
element is sent in the response. Use theNextToken
value 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-