Interface SearchAllRelatedItemsResponseItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SearchAllRelatedItemsResponseItem.Builder,,SearchAllRelatedItemsResponseItem> SdkBuilder<SearchAllRelatedItemsResponseItem.Builder,,SearchAllRelatedItemsResponseItem> SdkPojo
- Enclosing class:
SearchAllRelatedItemsResponseItem
@Mutable
@NotThreadSafe
public static interface SearchAllRelatedItemsResponseItem.Builder
extends SdkPojo, CopyableBuilder<SearchAllRelatedItemsResponseItem.Builder,SearchAllRelatedItemsResponseItem>
-
Method Summary
Modifier and TypeMethodDescriptionassociationTime(Instant associationTime) Time at which a related item was associated with a case.A unique identifier of the case.content(Consumer<RelatedItemContent.Builder> content) Sets the value of the Content property for this object.content(RelatedItemContent content) Sets the value of the Content property for this object.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.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, 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.
-
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:
-
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
Sets the value of the Content property for this object.- Parameters:
content- The new value for the Content property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
default SearchAllRelatedItemsResponseItem.Builder content(Consumer<RelatedItemContent.Builder> content) Sets the value of the Content property for this object. 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
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
default SearchAllRelatedItemsResponseItem.Builder performedBy(Consumer<UserUnion.Builder> 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:
-
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.