Interface RelatedItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RelatedItem.Builder,,RelatedItem> SdkBuilder<RelatedItem.Builder,,RelatedItem> SdkPojo
- Enclosing class:
RelatedItem
public static interface RelatedItem.Builder
extends SdkPojo, CopyableBuilder<RelatedItem.Builder,RelatedItem>
-
Method Summary
Modifier and TypeMethodDescriptiongeneratedId(String generatedId) A unique ID for aRelatedItem.default RelatedItem.Builderidentifier(Consumer<ItemIdentifier.Builder> identifier) Details about the related item.identifier(ItemIdentifier identifier) Details about the related item.The title of the 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
-
generatedId
A unique ID for a
RelatedItem.Don't specify this parameter when you add a
RelatedItemby using the UpdateRelatedItems API action.- Parameters:
generatedId- A unique ID for aRelatedItem.Don't specify this parameter when you add a
RelatedItemby using the UpdateRelatedItems API action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifier
Details about the related item.
- Parameters:
identifier- Details about the related item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifier
Details about the related item.
This is a convenience method that creates an instance of theItemIdentifier.Builderavoiding the need to create one manually viaItemIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidentifier(ItemIdentifier).- Parameters:
identifier- a consumer that will call methods onItemIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
title
The title of the related item.
- Parameters:
title- The title of the related item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-