Interface PutInventoryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutInventoryRequest.Builder,
,PutInventoryRequest> SdkBuilder<PutInventoryRequest.Builder,
,PutInventoryRequest> SdkPojo
,SdkRequest.Builder
,SsmRequest.Builder
- Enclosing class:
PutInventoryRequest
public static interface PutInventoryRequest.Builder
extends SsmRequest.Builder, SdkPojo, CopyableBuilder<PutInventoryRequest.Builder,PutInventoryRequest>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceId
(String instanceId) An managed node ID where you want to add or update inventory items.items
(Collection<InventoryItem> items) The inventory items that you want to add or update on managed nodes.items
(Consumer<InventoryItem.Builder>... items) The inventory items that you want to add or update on managed nodes.items
(InventoryItem... items) The inventory items that you want to add or update on managed nodes.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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, sdkFields
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmRequest.Builder
build
-
Method Details
-
instanceId
An managed node ID where you want to add or update inventory items.
- Parameters:
instanceId
- An managed node ID where you want to add or update inventory items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The inventory items that you want to add or update on managed nodes.
- Parameters:
items
- The inventory items that you want to add or update on managed nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The inventory items that you want to add or update on managed nodes.
- Parameters:
items
- The inventory items that you want to add or update on managed nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The inventory items that you want to add or update on managed nodes.
This is a convenience method that creates an instance of theInventoryItem.Builder
avoiding the need to create one manually viaInventoryItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<InventoryItem>)
.- Parameters:
items
- a consumer that will call methods onInventoryItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutInventoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutInventoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-