Interface DescribeCasesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeCasesResponse.Builder,,DescribeCasesResponse> SdkBuilder<DescribeCasesResponse.Builder,,DescribeCasesResponse> SdkPojo,SdkResponse.Builder,SupportResponse.Builder
- Enclosing class:
DescribeCasesResponse
public static interface DescribeCasesResponse.Builder
extends SupportResponse.Builder, SdkPojo, CopyableBuilder<DescribeCasesResponse.Builder,DescribeCasesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncases(Collection<CaseDetails> cases) The details for the cases that match the request.cases(Consumer<CaseDetails.Builder>... cases) The details for the cases that match the request.cases(CaseDetails... cases) The details for the cases that match the request.A resumption point for pagination.Methods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.support.model.SupportResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
cases
The details for the cases that match the request.
- Parameters:
cases- The details for the cases that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cases
The details for the cases that match the request.
- Parameters:
cases- The details for the cases that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cases
The details for the cases that match the request.
This is a convenience method that creates an instance of theCaseDetails.Builderavoiding the need to create one manually viaCaseDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocases(List<CaseDetails>).- Parameters:
cases- a consumer that will call methods onCaseDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A resumption point for pagination.
- Parameters:
nextToken- A resumption point for pagination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-