Interface CreateCaseRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConnectCasesRequest.Builder
,CopyableBuilder<CreateCaseRequest.Builder,
,CreateCaseRequest> SdkBuilder<CreateCaseRequest.Builder,
,CreateCaseRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
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.default CreateCaseRequest.Builder
performedBy
(Consumer<UserUnion.Builder> performedBy) Sets the value of the PerformedBy property for this object.performedBy
(UserUnion performedBy) Sets the value of the PerformedBy property for this object.templateId
(String templateId) A unique identifier of a template.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
-
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.Builder
avoiding the need to create one manually viaFieldValue.builder()
.When the
Consumer
completes,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:
-
performedBy
Sets the value of the PerformedBy property for this object.- Parameters:
performedBy
- The new value for the PerformedBy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performedBy
Sets the value of the PerformedBy property for this object. This is a convenience method that creates an instance of theUserUnion.Builder
avoiding the need to create one manually viaUserUnion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toperformedBy(UserUnion)
.- Parameters:
performedBy
- a consumer that will call methods onUserUnion.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.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
CreateCaseRequest.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.
-