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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchCasesResponse.Buildercases(Collection<SearchCasesResponseItem> cases)A list of case documents where each case contains the propertiesCaseIdandFieldswhere each field is a complex union structure.SearchCasesResponse.Buildercases(Consumer<SearchCasesResponseItem.Builder>... cases)A list of case documents where each case contains the propertiesCaseIdandFieldswhere each field is a complex union structure.SearchCasesResponse.Buildercases(SearchCasesResponseItem... cases)A list of case documents where each case contains the propertiesCaseIdandFieldswhere each field is a complex union structure.SearchCasesResponse.BuildernextToken(String nextToken)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
cases
SearchCasesResponse.Builder cases(Collection<SearchCasesResponseItem> 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
SearchCasesResponse.Builder cases(SearchCasesResponseItem... 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
SearchCasesResponse.Builder cases(Consumer<SearchCasesResponseItem.Builder>... 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 to#cases(List.) - 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:
#cases(java.util.Collection)
-
nextToken
SearchCasesResponse.Builder nextToken(String 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.
-
-