Interface SearchCasesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectCasesRequest.Builder,CopyableBuilder<SearchCasesRequest.Builder,,SearchCasesRequest> SdkBuilder<SearchCasesRequest.Builder,,SearchCasesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SearchCasesRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the Cases domain.fields(Collection<FieldIdentifier> fields) The list of field identifiers to be returned as part of the response.fields(Consumer<FieldIdentifier.Builder>... fields) The list of field identifiers to be returned as part of the response.fields(FieldIdentifier... fields) The list of field identifiers to be returned as part of the response.default SearchCasesRequest.Builderfilter(Consumer<CaseFilter.Builder> filter) A list of filter objects.filter(CaseFilter filter) A list of filter objects.maxResults(Integer maxResults) The maximum number of cases to return.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.searchTerm(String searchTerm) A word or phrase used to perform a quick search.sorts(Collection<Sort> sorts) A list of sorts where each sort specifies a field and their sort order to be applied to the results.sorts(Consumer<Sort.Builder>... sorts) A list of sorts where each sort specifies a field and their sort order to be applied to the results.A list of sorts where each sort specifies a field and their sort order to be applied to the results.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connectcases.model.ConnectCasesRequest.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, sdkFields
-
Method Details
-
domainId
The unique identifier of the Cases domain.
- Parameters:
domainId- The unique identifier of the Cases domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
The list of field identifiers to be returned as part of the response.
- Parameters:
fields- The list of field identifiers to be returned as part of the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
The list of field identifiers to be returned as part of the response.
- Parameters:
fields- The list of field identifiers to be returned as part of the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
The list of field identifiers to be returned as part of the response.
This is a convenience method that creates an instance of theFieldIdentifier.Builderavoiding the need to create one manually viaFieldIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofields(List<FieldIdentifier>).- Parameters:
fields- a consumer that will call methods onFieldIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filter
A list of filter objects.
- Parameters:
filter- A list of filter objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
A list of filter objects.
This is a convenience method that creates an instance of theCaseFilter.Builderavoiding the need to create one manually viaCaseFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(CaseFilter).- Parameters:
filter- a consumer that will call methods onCaseFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of cases to return. The current maximum supported value is 25. This is also the default value when no other value is provided.
- Parameters:
maxResults- The maximum number of cases to return. The current maximum supported value is 25. This is also the default value when no other value is provided.- 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.
-
searchTerm
A word or phrase used to perform a quick search.
- Parameters:
searchTerm- A word or phrase used to perform a quick search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sorts
A list of sorts where each sort specifies a field and their sort order to be applied to the results.
- Parameters:
sorts- A list of sorts where each sort specifies a field and their sort order to be applied to the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sorts
A list of sorts where each sort specifies a field and their sort order to be applied to the results.
- Parameters:
sorts- A list of sorts where each sort specifies a field and their sort order to be applied to the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sorts
A list of sorts where each sort specifies a field and their sort order to be applied to the results.
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 tosorts(List<Sort>).- Parameters:
sorts- 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
SearchCasesRequest.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
SearchCasesRequest.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.
-