Interface InventoryDeletionSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InventoryDeletionSummary.Builder,,InventoryDeletionSummary> SdkBuilder<InventoryDeletionSummary.Builder,,InventoryDeletionSummary> SdkPojo
- Enclosing class:
InventoryDeletionSummary
@Mutable
@NotThreadSafe
public static interface InventoryDeletionSummary.Builder
extends SdkPojo, CopyableBuilder<InventoryDeletionSummary.Builder,InventoryDeletionSummary>
-
Method Summary
Modifier and TypeMethodDescriptionremainingCount(Integer remainingCount) Remaining number of items to delete.summaryItems(Collection<InventoryDeletionSummaryItem> summaryItems) A list of counts and versions for deleted items.summaryItems(Consumer<InventoryDeletionSummaryItem.Builder>... summaryItems) A list of counts and versions for deleted items.summaryItems(InventoryDeletionSummaryItem... summaryItems) A list of counts and versions for deleted items.totalCount(Integer totalCount) The total number of items to delete.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
-
totalCount
The total number of items to delete. This count doesn't change during the delete operation.
- Parameters:
totalCount- The total number of items to delete. This count doesn't change during the delete operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remainingCount
Remaining number of items to delete.
- Parameters:
remainingCount- Remaining number of items to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summaryItems
InventoryDeletionSummary.Builder summaryItems(Collection<InventoryDeletionSummaryItem> summaryItems) A list of counts and versions for deleted items.
- Parameters:
summaryItems- A list of counts and versions for deleted items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summaryItems
A list of counts and versions for deleted items.
- Parameters:
summaryItems- A list of counts and versions for deleted items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summaryItems
InventoryDeletionSummary.Builder summaryItems(Consumer<InventoryDeletionSummaryItem.Builder>... summaryItems) A list of counts and versions for deleted items.
This is a convenience method that creates an instance of theInventoryDeletionSummaryItem.Builderavoiding the need to create one manually viaInventoryDeletionSummaryItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosummaryItems(List<InventoryDeletionSummaryItem>).- Parameters:
summaryItems- a consumer that will call methods onInventoryDeletionSummaryItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-