Interface CreateCaseRequest.Builder
- All Superinterfaces:
 AwsRequest.Builder,Buildable,ConnectCasesRequest.Builder,CopyableBuilder<CreateCaseRequest.Builder,,CreateCaseRequest> SdkBuilder<CreateCaseRequest.Builder,,CreateCaseRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
 CreateCaseRequest
public static interface CreateCaseRequest.Builder
extends ConnectCasesRequest.Builder, SdkPojo, CopyableBuilder<CreateCaseRequest.Builder,CreateCaseRequest> 
- 
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.The unique identifier of the Cases domain.fields(Collection<FieldValue> fields) An array of objects with field ID (matching ListFields/DescribeField) and value union data.fields(Consumer<FieldValue.Builder>... fields) An array of objects with field ID (matching ListFields/DescribeField) and value union data.fields(FieldValue... fields) An array of objects with field ID (matching ListFields/DescribeField) and value union data.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.templateId(String templateId) A unique identifier of a template.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connectcases.model.ConnectCasesRequest.Builder
buildMethods 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, sdkFields 
- 
Method Details
- 
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- Parameters:
 clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.- 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
An array of objects with field ID (matching ListFields/DescribeField) and value union data.
- Parameters:
 fields- An array of objects with field ID (matching ListFields/DescribeField) and value union data.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
fields
An array of objects with field ID (matching ListFields/DescribeField) and value union data.
- Parameters:
 fields- An array of objects with field ID (matching ListFields/DescribeField) and value union data.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
fields
An array of objects with field ID (matching ListFields/DescribeField) and value union data.
This is a convenience method that creates an instance of theFieldValue.Builderavoiding the need to create one manually viaFieldValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofields(List<FieldValue>).- Parameters:
 fields- a consumer that will call methods onFieldValue.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
templateId
A unique identifier of a template.
- Parameters:
 templateId- A unique identifier of a template.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
overrideConfiguration
CreateCaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
 overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
 overrideConfiguration- The override configuration.- Returns:
 - This object for method chaining.
 
 - 
overrideConfiguration
CreateCaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
 overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
 builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
 - This object for method chaining.
 
 
 -