CopyableBuilder<PutInventoryRequest.Builder,PutInventoryRequest>
, SdkBuilder<PutInventoryRequest.Builder,PutInventoryRequest>
public static interface PutInventoryRequest.Builder extends CopyableBuilder<PutInventoryRequest.Builder,PutInventoryRequest>
Modifier and Type | Method | Description |
---|---|---|
PutInventoryRequest.Builder |
instanceId(String instanceId) |
One or more instance IDs where you want to add or update inventory items.
|
PutInventoryRequest.Builder |
items(Collection<InventoryItem> items) |
The inventory items that you want to add or update on instances.
|
PutInventoryRequest.Builder |
items(InventoryItem... items) |
The inventory items that you want to add or update on instances.
|
copy
apply, build
PutInventoryRequest.Builder instanceId(String instanceId)
One or more instance IDs where you want to add or update inventory items.
instanceId
- One or more instance IDs where you want to add or update inventory items.PutInventoryRequest.Builder items(Collection<InventoryItem> items)
The inventory items that you want to add or update on instances.
items
- The inventory items that you want to add or update on instances.PutInventoryRequest.Builder items(InventoryItem... items)
The inventory items that you want to add or update on instances.
NOTE: This method appends the values to the existing list (if any). Use
#setItems(java.util.Collection)
or #withItems(java.util.Collection)
if you want to override
the existing values.
items
- The inventory items that you want to add or update on instances.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.