Interface InventoryDeletionSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InventoryDeletionSummary.Builder,InventoryDeletionSummary>,SdkBuilder<InventoryDeletionSummary.Builder,InventoryDeletionSummary>,SdkPojo
- Enclosing class:
- InventoryDeletionSummary
public static interface InventoryDeletionSummary.Builder extends SdkPojo, CopyableBuilder<InventoryDeletionSummary.Builder,InventoryDeletionSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InventoryDeletionSummary.BuilderremainingCount(Integer remainingCount)Remaining number of items to delete.InventoryDeletionSummary.BuildersummaryItems(Collection<InventoryDeletionSummaryItem> summaryItems)A list of counts and versions for deleted items.InventoryDeletionSummary.BuildersummaryItems(Consumer<InventoryDeletionSummaryItem.Builder>... summaryItems)A list of counts and versions for deleted items.InventoryDeletionSummary.BuildersummaryItems(InventoryDeletionSummaryItem... summaryItems)A list of counts and versions for deleted items.InventoryDeletionSummary.BuildertotalCount(Integer totalCount)The total number of items to delete.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
totalCount
InventoryDeletionSummary.Builder totalCount(Integer 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
InventoryDeletionSummary.Builder remainingCount(Integer 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
InventoryDeletionSummary.Builder summaryItems(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
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 to#summaryItems(List.) - 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:
#summaryItems(java.util.Collection)
-
-