Interface SearchRelatedItemsResponseItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SearchRelatedItemsResponseItem.Builder,,SearchRelatedItemsResponseItem> SdkBuilder<SearchRelatedItemsResponseItem.Builder,,SearchRelatedItemsResponseItem> SdkPojo
- Enclosing class:
SearchRelatedItemsResponseItem
public static interface SearchRelatedItemsResponseItem.Builder
extends SdkPojo, CopyableBuilder<SearchRelatedItemsResponseItem.Builder,SearchRelatedItemsResponseItem>
-
Method Summary
Modifier and TypeMethodDescriptionassociationTime(Instant associationTime) Time at which a related item was associated with a case.content(Consumer<RelatedItemContent.Builder> content) Represents the content of a particular type of related item.content(RelatedItemContent content) Represents the content of a particular type of related item.performedBy(Consumer<UserUnion.Builder> performedBy) Represents the creator of the related item.performedBy(UserUnion performedBy) Represents the creator of the related item.relatedItemId(String relatedItemId) Unique identifier of a related item.A map of of key-value pairs that represent tags on a resource.Type of a related item.type(RelatedItemType type) Type of a related item.Methods 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, sdkFields
-
Method Details
-
associationTime
Time at which a related item was associated with a case.
- Parameters:
associationTime- Time at which a related item was associated with a case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
Represents the content of a particular type of related item.
- Parameters:
content- Represents the content of a particular type of related item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
default SearchRelatedItemsResponseItem.Builder content(Consumer<RelatedItemContent.Builder> content) Represents the content of a particular type of 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:
-
performedBy
Represents the creator of the related item.
- Parameters:
performedBy- Represents the creator of the related item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performedBy
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 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:
-
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.
-
type
Type of a related item.
- Parameters:
type- Type of a related item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Type of a related item.
- Parameters:
type- Type of a related item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-