public static interface RelatedItem.Builder extends SdkPojo, CopyableBuilder<RelatedItem.Builder,RelatedItem>
| Modifier and Type | Method and Description |
|---|---|
RelatedItem.Builder |
generatedId(String generatedId)
A unique ID for a
RelatedItem. |
default RelatedItem.Builder |
identifier(Consumer<ItemIdentifier.Builder> identifier)
Details about the related item.
|
RelatedItem.Builder |
identifier(ItemIdentifier identifier)
Details about the related item.
|
RelatedItem.Builder |
title(String title)
The title of the related item.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRelatedItem.Builder generatedId(String generatedId)
A unique ID for a RelatedItem.
Don't specify this parameter when you add a RelatedItem by using the UpdateRelatedItems
API action.
generatedId - A unique ID for a RelatedItem.
Don't specify this parameter when you add a RelatedItem by using the
UpdateRelatedItems API action.
RelatedItem.Builder identifier(ItemIdentifier identifier)
Details about the related item.
identifier - Details about the related item.default RelatedItem.Builder identifier(Consumer<ItemIdentifier.Builder> identifier)
Details about the related item.
This is a convenience method that creates an instance of theItemIdentifier.Builder avoiding the need
to create one manually via ItemIdentifier.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to identifier(ItemIdentifier).
identifier - a consumer that will call methods on ItemIdentifier.Builderidentifier(ItemIdentifier)RelatedItem.Builder title(String title)
The title of the related item.
title - The title of the related item.Copyright © 2023. All rights reserved.