Interface PutInventoryRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutInventoryRequest.Builder,PutInventoryRequest>,SdkBuilder<PutInventoryRequest.Builder,PutInventoryRequest>,SdkPojo,SdkRequest.Builder,SsmRequest.Builder
- Enclosing class:
- PutInventoryRequest
@Mutable @NotThreadSafe public static interface PutInventoryRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<PutInventoryRequest.Builder,PutInventoryRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutInventoryRequest.BuilderinstanceId(String instanceId)An managed node ID where you want to add or update inventory items.PutInventoryRequest.Builderitems(Collection<InventoryItem> items)The inventory items that you want to add or update on managed nodes.PutInventoryRequest.Builderitems(Consumer<InventoryItem.Builder>... items)The inventory items that you want to add or update on managed nodes.PutInventoryRequest.Builderitems(InventoryItem... items)The inventory items that you want to add or update on managed nodes.PutInventoryRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutInventoryRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmRequest.Builder
build
-
-
-
-
Method Detail
-
instanceId
PutInventoryRequest.Builder instanceId(String 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
PutInventoryRequest.Builder items(Collection<InventoryItem> 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
PutInventoryRequest.Builder items(InventoryItem... 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
PutInventoryRequest.Builder items(Consumer<InventoryItem.Builder>... 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 to#items(List.) - 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:
#items(java.util.Collection)
-
overrideConfiguration
PutInventoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutInventoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-