Interface UpdateRelatedItemRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectCasesRequest.Builder,CopyableBuilder<UpdateRelatedItemRequest.Builder,,UpdateRelatedItemRequest> SdkBuilder<UpdateRelatedItemRequest.Builder,,UpdateRelatedItemRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateRelatedItemRequest
@Mutable
@NotThreadSafe
public static interface UpdateRelatedItemRequest.Builder
extends ConnectCasesRequest.Builder, SdkPojo, CopyableBuilder<UpdateRelatedItemRequest.Builder,UpdateRelatedItemRequest>
-
Method Summary
Modifier and TypeMethodDescriptionA unique identifier of the case.default UpdateRelatedItemRequest.Buildercontent(Consumer<RelatedItemUpdateContent.Builder> content) The content of a related item to be updated.content(RelatedItemUpdateContent content) The content of a related item to be updated.The unique identifier of the Cases domain.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateRelatedItemRequest.BuilderperformedBy(Consumer<UserUnion.Builder> performedBy) Represents the user who performed the update of the related item.performedBy(UserUnion performedBy) Represents the user who performed the update of the related item.relatedItemId(String relatedItemId) Unique identifier of a related item.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.
-
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.
-
content
The content of a related item to be updated.
- Parameters:
content- The content of a related item to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
default UpdateRelatedItemRequest.Builder content(Consumer<RelatedItemUpdateContent.Builder> content) The content of a related item to be updated.
This is a convenience method that creates an instance of theRelatedItemUpdateContent.Builderavoiding the need to create one manually viaRelatedItemUpdateContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontent(RelatedItemUpdateContent).- Parameters:
content- a consumer that will call methods onRelatedItemUpdateContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
performedBy
Represents the user who performed the update of the related item.
- Parameters:
performedBy- Represents the user who performed the update of the related item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performedBy
Represents the user who performed the update of the related item.
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
UpdateRelatedItemRequest.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
UpdateRelatedItemRequest.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.
-