Interface ListCaseRulesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectCasesResponse.Builder,CopyableBuilder<ListCaseRulesResponse.Builder,,ListCaseRulesResponse> SdkBuilder<ListCaseRulesResponse.Builder,,ListCaseRulesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCaseRulesResponse
@Mutable
@NotThreadSafe
public static interface ListCaseRulesResponse.Builder
extends ConnectCasesResponse.Builder, SdkPojo, CopyableBuilder<ListCaseRulesResponse.Builder,ListCaseRulesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncaseRules(Collection<CaseRuleSummary> caseRules) A list of field summary objects.caseRules(Consumer<CaseRuleSummary.Builder>... caseRules) A list of field summary objects.caseRules(CaseRuleSummary... caseRules) A list of field summary objects.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
caseRules
A list of field summary objects.
- Parameters:
caseRules- A list of field summary objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
caseRules
A list of field summary objects.
- Parameters:
caseRules- A list of field summary objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
caseRules
A list of field summary objects.
This is a convenience method that creates an instance of theCaseRuleSummary.Builderavoiding the need to create one manually viaCaseRuleSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocaseRules(List<CaseRuleSummary>).- Parameters:
caseRules- a consumer that will call methods onCaseRuleSummary.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.
-