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.BuilderperformedBy(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
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
-
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.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:
-
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.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:
-
overrideConfiguration
UpdateCaseRequest.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
UpdateCaseRequest.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.
-