Interface UpdateRelatedItemResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectCasesResponse.Builder,CopyableBuilder<UpdateRelatedItemResponse.Builder,,UpdateRelatedItemResponse> SdkBuilder<UpdateRelatedItemResponse.Builder,,UpdateRelatedItemResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateRelatedItemResponse
-
Method Summary
Modifier and TypeMethodDescriptionassociationTime(Instant associationTime) Time at which the related item was associated with the case.content(Consumer<RelatedItemContent.Builder> content) Represents the content of the updated related item.content(RelatedItemContent content) Represents the content of the updated related item.createdBy(Consumer<UserUnion.Builder> createdBy) Represents the creator of the related item.Represents the creator of the related item.lastUpdatedUser(Consumer<UserUnion.Builder> lastUpdatedUser) Represents the last user that updated the related item.lastUpdatedUser(UserUnion lastUpdatedUser) Represents the last user that updated the related item.relatedItemArn(String relatedItemArn) The Amazon Resource Name (ARN) of the updated related item.relatedItemId(String relatedItemId) The unique identifier of the updated related item.A map of of key-value pairs that represent tags on a resource.Type of the updated related item.type(RelatedItemType type) Type of the updated related item.Methods inherited from interface software.amazon.awssdk.services.connectcases.model.ConnectCasesResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
type
Type of the updated related item.
- Parameters:
type- Type of the updated related item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Type of the updated related item.
- Parameters:
type- Type of the updated related item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
content
Represents the content of the updated related item.
- Parameters:
content- Represents the content of the updated related item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
Represents the content of the updated related item.
This is a convenience method that creates an instance of theRelatedItemContent.Builderavoiding the need to create one manually viaRelatedItemContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontent(RelatedItemContent).- Parameters:
content- a consumer that will call methods onRelatedItemContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
associationTime
Time at which the related item was associated with the case.
- Parameters:
associationTime- Time at which the related item was associated with the case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
- Parameters:
tags- A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedUser
Represents the last user that updated the related item.
- Parameters:
lastUpdatedUser- Represents the last user that updated the related item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedUser
default UpdateRelatedItemResponse.Builder lastUpdatedUser(Consumer<UserUnion.Builder> lastUpdatedUser) Represents the last user that updated 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 tolastUpdatedUser(UserUnion).- Parameters:
lastUpdatedUser- 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:
-
createdBy
Represents the creator of the related item.
- Parameters:
createdBy- Represents the creator of the related item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Represents the creator 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 tocreatedBy(UserUnion).- Parameters:
createdBy- 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: