Interface SearchCasesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectCasesRequest.Builder,CopyableBuilder<SearchCasesRequest.Builder,SearchCasesRequest>,SdkBuilder<SearchCasesRequest.Builder,SearchCasesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- SearchCasesRequest
public static interface SearchCasesRequest.Builder extends ConnectCasesRequest.Builder, SdkPojo, CopyableBuilder<SearchCasesRequest.Builder,SearchCasesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SearchCasesRequest.BuilderdomainId(String domainId)The unique identifier of the Cases domain.SearchCasesRequest.Builderfields(Collection<FieldIdentifier> fields)The list of field identifiers to be returned as part of the response.SearchCasesRequest.Builderfields(Consumer<FieldIdentifier.Builder>... fields)The list of field identifiers to be returned as part of the response.SearchCasesRequest.Builderfields(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.SearchCasesRequest.Builderfilter(CaseFilter filter)A list of filter objects.SearchCasesRequest.BuildermaxResults(Integer maxResults)The maximum number of cases to return.SearchCasesRequest.BuildernextToken(String nextToken)The token for the next set of results.SearchCasesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SearchCasesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)SearchCasesRequest.BuildersearchTerm(String searchTerm)A word or phrase used to perform a quick search.SearchCasesRequest.Buildersorts(Collection<Sort> sorts)A list of sorts where each sort specifies a field and their sort order to be applied to the results.SearchCasesRequest.Buildersorts(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.Buildersorts(Sort... sorts)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
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.connectcases.model.ConnectCasesRequest.Builder
build
-
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
-
-
-
-
Method Detail
-
domainId
SearchCasesRequest.Builder domainId(String 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
SearchCasesRequest.Builder fields(Collection<FieldIdentifier> 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
SearchCasesRequest.Builder fields(FieldIdentifier... 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
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.Builderavoiding the need to create one manually viaFieldIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#fields(List.) - 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:
#fields(java.util.Collection)
-
filter
SearchCasesRequest.Builder filter(CaseFilter 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
default SearchCasesRequest.Builder filter(Consumer<CaseFilter.Builder> 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:
filter(CaseFilter)
-
maxResults
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.
- 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
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.
- 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
SearchCasesRequest.Builder searchTerm(String 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
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.
- 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
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.
- 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
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.Builderavoiding the need to create one manually viaSort.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sorts(List.) - 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:
#sorts(java.util.Collection)
-
overrideConfiguration
SearchCasesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SearchCasesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-