Interface SearchCasesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectCasesResponse.Builder
,CopyableBuilder<SearchCasesResponse.Builder,
,SearchCasesResponse> SdkBuilder<SearchCasesResponse.Builder,
,SearchCasesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SearchCasesResponse
@Mutable
@NotThreadSafe
public static interface SearchCasesResponse.Builder
extends ConnectCasesResponse.Builder, SdkPojo, CopyableBuilder<SearchCasesResponse.Builder,SearchCasesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncases
(Collection<SearchCasesResponseItem> cases) A list of case documents where each case contains the propertiesCaseId
andFields
where each field is a complex union structure.cases
(Consumer<SearchCasesResponseItem.Builder>... cases) A list of case documents where each case contains the propertiesCaseId
andFields
where each field is a complex union structure.cases
(SearchCasesResponseItem... cases) A list of case documents where each case contains the propertiesCaseId
andFields
where each field is a complex union structure.The token for the next set of results.Methods inherited from interface software.amazon.awssdk.services.connectcases.model.ConnectCasesResponse.Builder
build, responseMetadata, responseMetadata
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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
cases
A list of case documents where each case contains the properties
CaseId
andFields
where each field is a complex union structure.- Parameters:
cases
- A list of case documents where each case contains the propertiesCaseId
andFields
where each field is a complex union structure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cases
A list of case documents where each case contains the properties
CaseId
andFields
where each field is a complex union structure.- Parameters:
cases
- A list of case documents where each case contains the propertiesCaseId
andFields
where each field is a complex union structure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cases
A list of case documents where each case contains the properties
This is a convenience method that creates an instance of theCaseId
andFields
where each field is a complex union structure.SearchCasesResponseItem.Builder
avoiding the need to create one manually viaSearchCasesResponseItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocases(List<SearchCasesResponseItem>)
.- Parameters:
cases
- a consumer that will call methods onSearchCasesResponseItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next set of results. This is null if there are no more results to return.
- Parameters:
nextToken
- The token for the next set of results. This is null if there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-