Interface BatchUpdateCaseRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectCasesRequest.Builder,CopyableBuilder<BatchUpdateCaseRequest.Builder,,BatchUpdateCaseRequest> SdkBuilder<BatchUpdateCaseRequest.Builder,,BatchUpdateCaseRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchUpdateCaseRequest
-
Method Summary
Modifier and TypeMethodDescriptioncases(Collection<BatchUpdateCaseIdentifier> cases) The list of cases to update.cases(Consumer<BatchUpdateCaseIdentifier.Builder>... cases) The list of cases to update.cases(BatchUpdateCaseIdentifier... cases) The list of cases to update.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.customerId(String customerId) The ARN of the customer profile to associate with all cases in the request.The unique identifier of the Cases domain.fields(Collection<FieldValueInput> fields) An array of objects, each with afieldIdentifierand avalue.fields(Consumer<FieldValueInput.Builder>... fields) An array of objects, each with afieldIdentifierand avalue.fields(FieldValueInput... fields) An array of objects, each with afieldIdentifierand avalue.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default BatchUpdateCaseRequest.BuilderperformedBy(Consumer<UserUnion.Builder> performedBy) The entity that performed the action.performedBy(UserUnion performedBy) The entity that performed the action.The status to apply to all cases in the request.The title to apply to all cases in the request.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
-
cases
The list of cases to update. All cases must belong to the same domain.
- Parameters:
cases- The list of cases to update. All cases must belong to the same domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cases
The list of cases to update. All cases must belong to the same domain.
- Parameters:
cases- The list of cases to update. All cases must belong to the same domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cases
The list of cases to update. All cases must belong to the same domain.
This is a convenience method that creates an instance of theBatchUpdateCaseIdentifier.Builderavoiding the need to create one manually viaBatchUpdateCaseIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocases(List<BatchUpdateCaseIdentifier>).- Parameters:
cases- a consumer that will call methods onBatchUpdateCaseIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fields
An array of objects, each with a
fieldIdentifierand avalue. You can identify each field by its ID or by its name; identifying a field by name is supported only inBatchUpdateCase. The same field values are applied to every case in the request. This field must be present, but can be an empty list when you provide the top-leveltitle,status, orcustomerIdparameters. Do not includetitle,status, orcustomerIdin this list; set those values only through their top-level parameters. Duplicating them infieldsresults in a validation error.- Parameters:
fields- An array of objects, each with afieldIdentifierand avalue. You can identify each field by its ID or by its name; identifying a field by name is supported only inBatchUpdateCase. The same field values are applied to every case in the request. This field must be present, but can be an empty list when you provide the top-leveltitle,status, orcustomerIdparameters. Do not includetitle,status, orcustomerIdin this list; set those values only through their top-level parameters. Duplicating them infieldsresults in a validation error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
An array of objects, each with a
fieldIdentifierand avalue. You can identify each field by its ID or by its name; identifying a field by name is supported only inBatchUpdateCase. The same field values are applied to every case in the request. This field must be present, but can be an empty list when you provide the top-leveltitle,status, orcustomerIdparameters. Do not includetitle,status, orcustomerIdin this list; set those values only through their top-level parameters. Duplicating them infieldsresults in a validation error.- Parameters:
fields- An array of objects, each with afieldIdentifierand avalue. You can identify each field by its ID or by its name; identifying a field by name is supported only inBatchUpdateCase. The same field values are applied to every case in the request. This field must be present, but can be an empty list when you provide the top-leveltitle,status, orcustomerIdparameters. Do not includetitle,status, orcustomerIdin this list; set those values only through their top-level parameters. Duplicating them infieldsresults in a validation error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
An array of objects, each with a
This is a convenience method that creates an instance of thefieldIdentifierand avalue. You can identify each field by its ID or by its name; identifying a field by name is supported only inBatchUpdateCase. The same field values are applied to every case in the request. This field must be present, but can be an empty list when you provide the top-leveltitle,status, orcustomerIdparameters. Do not includetitle,status, orcustomerIdin this list; set those values only through their top-level parameters. Duplicating them infieldsresults in a validation error.FieldValueInput.Builderavoiding the need to create one manually viaFieldValueInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofields(List<FieldValueInput>).- Parameters:
fields- a consumer that will call methods onFieldValueInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
performedBy
The entity that performed the action.
- Parameters:
performedBy- The entity that performed the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performedBy
The entity that performed the action.
This is a convenience method that creates an instance of theUserUnion.Builderavoiding the need to create one manually viaUserUnion.builder().When the
Consumercompletes,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:
-
title
The title to apply to all cases in the request.
- Parameters:
title- The title to apply to all cases in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status to apply to all cases in the request.
- Parameters:
status- The status to apply to all cases in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerId
The ARN of the customer profile to associate with all cases in the request.
- Parameters:
customerId- The ARN of the customer profile to associate with all cases in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
If you retry a request with the same client token, the service returns the original response instead of processing the request again. If you reuse a client token with different request parameters, the request fails with a
ConflictException.- 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.If you retry a request with the same client token, the service returns the original response instead of processing the request again. If you reuse a client token with different request parameters, the request fails with a
ConflictException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
BatchUpdateCaseRequest.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
BatchUpdateCaseRequest.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.
-