Interface SearchContactsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<SearchContactsRequest.Builder,,SearchContactsRequest> SdkBuilder<SearchContactsRequest.Builder,,SearchContactsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SearchContactsRequest
-
Method Summary
Modifier and TypeMethodDescriptioninstanceId(String instanceId) The identifier of Amazon Connect instance.maxResults(Integer maxResults) The maximum number of results to return per page.The token for the next set of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default SearchContactsRequest.BuildersearchCriteria(Consumer<SearchCriteria.Builder> searchCriteria) The search criteria to be used to return contacts.searchCriteria(SearchCriteria searchCriteria) The search criteria to be used to return contacts.default SearchContactsRequest.Buildersort(Consumer<Sort.Builder> sort) Specifies a field to sort by and a sort order.Specifies a field to sort by and a sort order.default SearchContactsRequest.BuildertimeRange(Consumer<SearchContactsTimeRange.Builder> timeRange) Time range that you want to search results.timeRange(SearchContactsTimeRange timeRange) Time range that you want to search results.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
instanceId
The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId- The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeRange
Time range that you want to search results.
- Parameters:
timeRange- Time range that you want to search results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeRange
default SearchContactsRequest.Builder timeRange(Consumer<SearchContactsTimeRange.Builder> timeRange) Time range that you want to search results.
This is a convenience method that creates an instance of theSearchContactsTimeRange.Builderavoiding the need to create one manually viaSearchContactsTimeRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeRange(SearchContactsTimeRange).- Parameters:
timeRange- a consumer that will call methods onSearchContactsTimeRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
searchCriteria
The search criteria to be used to return contacts.
- Parameters:
searchCriteria- The search criteria to be used to return contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchCriteria
default SearchContactsRequest.Builder searchCriteria(Consumer<SearchCriteria.Builder> searchCriteria) The search criteria to be used to return contacts.
This is a convenience method that creates an instance of theSearchCriteria.Builderavoiding the need to create one manually viaSearchCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosearchCriteria(SearchCriteria).- Parameters:
searchCriteria- a consumer that will call methods onSearchCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of results to return per page.
- Parameters:
maxResults- The maximum number of results to return per page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- Parameters:
nextToken- The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
Specifies a field to sort by and a sort order.
- Parameters:
sort- Specifies a field to sort by and a sort order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
Specifies a field to sort by and a sort order.
This is a convenience method that creates an instance of theSort.Builderavoiding the need to create one manually viaSort.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosort(Sort).- Parameters:
sort- a consumer that will call methods onSort.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
SearchContactsRequest.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
SearchContactsRequest.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.
-