public static interface InventoryDeletionSummary.Builder extends SdkPojo, CopyableBuilder<InventoryDeletionSummary.Builder,InventoryDeletionSummary>
Modifier and Type | Method and Description |
---|---|
InventoryDeletionSummary.Builder |
remainingCount(Integer remainingCount)
Remaining number of items to delete.
|
InventoryDeletionSummary.Builder |
summaryItems(Collection<InventoryDeletionSummaryItem> summaryItems)
A list of counts and versions for deleted items.
|
InventoryDeletionSummary.Builder |
summaryItems(Consumer<InventoryDeletionSummaryItem.Builder>... summaryItems)
A list of counts and versions for deleted items.
|
InventoryDeletionSummary.Builder |
summaryItems(InventoryDeletionSummaryItem... summaryItems)
A list of counts and versions for deleted items.
|
InventoryDeletionSummary.Builder |
totalCount(Integer totalCount)
The total number of items to delete.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
InventoryDeletionSummary.Builder totalCount(Integer totalCount)
The total number of items to delete. This count does not change during the delete operation.
totalCount
- The total number of items to delete. This count does not change during the delete operation.InventoryDeletionSummary.Builder remainingCount(Integer remainingCount)
Remaining number of items to delete.
remainingCount
- Remaining number of items to delete.InventoryDeletionSummary.Builder summaryItems(Collection<InventoryDeletionSummaryItem> summaryItems)
A list of counts and versions for deleted items.
summaryItems
- A list of counts and versions for deleted items.InventoryDeletionSummary.Builder summaryItems(InventoryDeletionSummaryItem... summaryItems)
A list of counts and versions for deleted items.
summaryItems
- A list of counts and versions for deleted items.InventoryDeletionSummary.Builder summaryItems(Consumer<InventoryDeletionSummaryItem.Builder>... summaryItems)
A list of counts and versions for deleted items.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #summaryItems(List)
.summaryItems
- a consumer that will call methods on List.Builder
#summaryItems(List)
Copyright © 2020. All rights reserved.