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 SummaryModifier 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.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.
 
- 
filterA 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.
 
- 
filterA 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 on- ListContactsFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
pageSizeThe 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, the- NextTokenelement is sent in the response. Use the- NextTokenvalue in subsequent requests to retrieve additional contacts.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nextTokenA 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.
 
- 
overrideConfigurationListContactsRequest.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.
 
- 
overrideConfigurationListContactsRequest.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.
 
 
-