public static interface PutInventoryRequest.Builder extends SsmRequest.Builder, CopyableBuilder<PutInventoryRequest.Builder,PutInventoryRequest>
Modifier and Type | Method and 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(Consumer<InventoryItem.Builder>... 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.
|
PutInventoryRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PutInventoryRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, 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.
items
- The inventory items that you want to add or update on instances.PutInventoryRequest.Builder items(Consumer<InventoryItem.Builder>... items)
The inventory items that you want to add or update on instances.
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 #items(List)
.items
- a consumer that will call methods on List.Builder
#items(List)
PutInventoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutInventoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.