Interface RelatedItemsUpdate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RelatedItemsUpdate.Builder,,RelatedItemsUpdate> SdkBuilder<RelatedItemsUpdate.Builder,,RelatedItemsUpdate> SdkPojo
- Enclosing class:
RelatedItemsUpdate
@Mutable
@NotThreadSafe
public static interface RelatedItemsUpdate.Builder
extends SdkPojo, CopyableBuilder<RelatedItemsUpdate.Builder,RelatedItemsUpdate>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RelatedItemsUpdate.BuilderitemToAdd(Consumer<RelatedItem.Builder> itemToAdd) Details about the related item you're adding.itemToAdd(RelatedItem itemToAdd) Details about the related item you're adding.default RelatedItemsUpdate.BuilderitemToRemove(Consumer<ItemIdentifier.Builder> itemToRemove) Details about the related item you're deleting.itemToRemove(ItemIdentifier itemToRemove) Details about the related item you're deleting.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
-
itemToAdd
Details about the related item you're adding.
- Parameters:
itemToAdd- Details about the related item you're adding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemToAdd
Details about the related item you're adding.
This is a convenience method that creates an instance of theRelatedItem.Builderavoiding the need to create one manually viaRelatedItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitemToAdd(RelatedItem).- Parameters:
itemToAdd- a consumer that will call methods onRelatedItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
itemToRemove
Details about the related item you're deleting.
- Parameters:
itemToRemove- Details about the related item you're deleting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemToRemove
Details about the related item you're deleting.
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 toitemToRemove(ItemIdentifier).- Parameters:
itemToRemove- 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:
-