Interface UpdateCaseRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConnectCasesRequest.Builder
,CopyableBuilder<UpdateCaseRequest.Builder,
,UpdateCaseRequest> SdkBuilder<UpdateCaseRequest.Builder,
,UpdateCaseRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateCaseRequest
public static interface UpdateCaseRequest.Builder
extends ConnectCasesRequest.Builder, SdkPojo, CopyableBuilder<UpdateCaseRequest.Builder,UpdateCaseRequest>
-
Method Summary
Modifier and TypeMethodDescriptionA unique identifier of the case.The unique identifier of the Cases domain.fields
(Collection<FieldValue> fields) An array of objects withfieldId
(matching ListFields/DescribeField) and value union data, structured identical toCreateCase
.fields
(Consumer<FieldValue.Builder>... fields) An array of objects withfieldId
(matching ListFields/DescribeField) and value union data, structured identical toCreateCase
.fields
(FieldValue... fields) An array of objects withfieldId
(matching ListFields/DescribeField) and value union data, structured identical toCreateCase
.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateCaseRequest.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.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, 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
An array of objects with
fieldId
(matching ListFields/DescribeField) and value union data, structured identical toCreateCase
.- Parameters:
fields
- An array of objects withfieldId
(matching ListFields/DescribeField) and value union data, structured identical toCreateCase
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
An array of objects with
fieldId
(matching ListFields/DescribeField) and value union data, structured identical toCreateCase
.- Parameters:
fields
- An array of objects withfieldId
(matching ListFields/DescribeField) and value union data, structured identical toCreateCase
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
An array of objects with
This is a convenience method that creates an instance of thefieldId
(matching ListFields/DescribeField) and value union data, structured identical toCreateCase
.FieldValue.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:
-
overrideConfiguration
UpdateCaseRequest.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
UpdateCaseRequest.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.
-