Interface GetCaseRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConnectCasesRequest.Builder
,CopyableBuilder<GetCaseRequest.Builder,
,GetCaseRequest> SdkBuilder<GetCaseRequest.Builder,
,GetCaseRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetCaseRequest
@Mutable
@NotThreadSafe
public static interface GetCaseRequest.Builder
extends ConnectCasesRequest.Builder, SdkPojo, CopyableBuilder<GetCaseRequest.Builder,GetCaseRequest>
-
Method Summary
Modifier and TypeMethodDescriptionA unique identifier of the case.The unique identifier of the Cases domain.fields
(Collection<FieldIdentifier> fields) A list of unique field identifiers.fields
(Consumer<FieldIdentifier.Builder>... fields) A list of unique field identifiers.fields
(FieldIdentifier... fields) A list of unique field identifiers.The token for the next set of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.connectcases.model.ConnectCasesRequest.Builder
build
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
-
Method Details
-
caseId
A unique identifier of the case.
- Parameters:
caseId
- A unique identifier of the case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
The unique identifier of the Cases domain.
- Parameters:
domainId
- The unique identifier of the Cases domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
A list of unique field identifiers.
- Parameters:
fields
- A list of unique field identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
A list of unique field identifiers.
- Parameters:
fields
- A list of unique field identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
A list of unique field identifiers.
This is a convenience method that creates an instance of theFieldIdentifier.Builder
avoiding the need to create one manually viaFieldIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofields(List<FieldIdentifier>)
.- Parameters:
fields
- a consumer that will call methods onFieldIdentifier.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. Use the value returned in the previous response in the next request to retrieve the next set of results.
- Parameters:
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetCaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-