Interface SearchCasesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectCasesResponse.Builder,CopyableBuilder<SearchCasesResponse.Builder,,SearchCasesResponse> SdkBuilder<SearchCasesResponse.Builder,,SearchCasesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SearchCasesResponse
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 propertiesCaseIdandFieldswhere each field is a complex union structure.cases(Consumer<SearchCasesResponseItem.Builder>... cases) A list of case documents where each case contains the propertiesCaseIdandFieldswhere each field is a complex union structure.cases(SearchCasesResponseItem... cases) A list of case documents where each case contains the propertiesCaseIdandFieldswhere 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, responseMetadataMethods 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, sdkFieldsMethods 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
CaseIdandFieldswhere each field is a complex union structure.- Parameters:
cases- A list of case documents where each case contains the propertiesCaseIdandFieldswhere 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
CaseIdandFieldswhere each field is a complex union structure.- Parameters:
cases- A list of case documents where each case contains the propertiesCaseIdandFieldswhere 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 theCaseIdandFieldswhere each field is a complex union structure.SearchCasesResponseItem.Builderavoiding the need to create one manually viaSearchCasesResponseItem.builder().When the
Consumercompletes,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.
-