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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaInventoryItem.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-