public static interface SearchCasesRequest.Builder extends ConnectCasesRequest.Builder, SdkPojo, CopyableBuilder<SearchCasesRequest.Builder,SearchCasesRequest>
| Modifier and Type | Method and Description |
|---|---|
SearchCasesRequest.Builder |
domainId(String domainId)
The unique identifier of the Cases domain.
|
SearchCasesRequest.Builder |
fields(Collection<FieldIdentifier> fields)
The list of field identifiers to be returned as part of the response.
|
SearchCasesRequest.Builder |
fields(Consumer<FieldIdentifier.Builder>... fields)
The list of field identifiers to be returned as part of the response.
|
SearchCasesRequest.Builder |
fields(FieldIdentifier... fields)
The list of field identifiers to be returned as part of the response.
|
SearchCasesRequest.Builder |
filter(CaseFilter filter)
A list of filter objects.
|
default SearchCasesRequest.Builder |
filter(Consumer<CaseFilter.Builder> filter)
A list of filter objects.
|
SearchCasesRequest.Builder |
maxResults(Integer maxResults)
The maximum number of cases to return.
|
SearchCasesRequest.Builder |
nextToken(String nextToken)
The token for the next set of results.
|
SearchCasesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
SearchCasesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
SearchCasesRequest.Builder |
searchTerm(String searchTerm)
A word or phrase used to perform a quick search.
|
SearchCasesRequest.Builder |
sorts(Collection<Sort> sorts)
A list of sorts where each sort specifies a field and their sort order to be applied to the results.
|
SearchCasesRequest.Builder |
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.
|
SearchCasesRequest.Builder |
sorts(Sort... sorts)
A list of sorts where each sort specifies a field and their sort order to be applied to the results.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildSearchCasesRequest.Builder domainId(String domainId)
The unique identifier of the Cases domain.
domainId - The unique identifier of the Cases domain.SearchCasesRequest.Builder fields(Collection<FieldIdentifier> fields)
The list of field identifiers to be returned as part of the response.
fields - The list of field identifiers to be returned as part of the response.SearchCasesRequest.Builder fields(FieldIdentifier... fields)
The list of field identifiers to be returned as part of the response.
fields - The list of field identifiers to be returned as part of the response.SearchCasesRequest.Builder fields(Consumer<FieldIdentifier.Builder>... 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.Builder avoiding the need to
create one manually via FieldIdentifier.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #fields(List.
fields - a consumer that will call methods on
FieldIdentifier.Builder#fields(java.util.Collection) SearchCasesRequest.Builder filter(CaseFilter filter)
A list of filter objects.
filter - A list of filter objects.default SearchCasesRequest.Builder filter(Consumer<CaseFilter.Builder> filter)
A list of filter objects.
This is a convenience method that creates an instance of theCaseFilter.Builder avoiding the need to
create one manually via CaseFilter.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to filter(CaseFilter).
filter - a consumer that will call methods on CaseFilter.Builderfilter(CaseFilter)SearchCasesRequest.Builder maxResults(Integer 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.
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.SearchCasesRequest.Builder nextToken(String 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.
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.SearchCasesRequest.Builder searchTerm(String searchTerm)
A word or phrase used to perform a quick search.
searchTerm - A word or phrase used to perform a quick search.SearchCasesRequest.Builder 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 - A list of sorts where each sort specifies a field and their sort order to be applied to the results.SearchCasesRequest.Builder sorts(Sort... sorts)
A list of sorts where each sort specifies a field and their sort order to be applied to the results.
sorts - A list of sorts where each sort specifies a field and their sort order to be applied to the results.SearchCasesRequest.Builder 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.
This is a convenience method that creates an instance of theSort.Builder avoiding the need to create one
manually via Sort.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #sorts(List.
sorts - a consumer that will call methods on
Sort.Builder#sorts(java.util.Collection) SearchCasesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderSearchCasesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.