Interface GetInventoryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetInventoryRequest.Builder,,GetInventoryRequest> SdkBuilder<GetInventoryRequest.Builder,,GetInventoryRequest> SdkPojo,SdkRequest.Builder,SsmRequest.Builder
- Enclosing class:
GetInventoryRequest
-
Method Summary
Modifier and TypeMethodDescriptionaggregators(Collection<InventoryAggregator> aggregators) Returns counts of inventory types based on one or more expressions.aggregators(Consumer<InventoryAggregator.Builder>... aggregators) Returns counts of inventory types based on one or more expressions.aggregators(InventoryAggregator... aggregators) Returns counts of inventory types based on one or more expressions.filters(Collection<InventoryFilter> filters) One or more filters.filters(Consumer<InventoryFilter.Builder>... filters) One or more filters.filters(InventoryFilter... filters) One or more filters.maxResults(Integer maxResults) The maximum number of items to return for this call.The token for the next set of items to return.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resultAttributes(Collection<ResultAttribute> resultAttributes) The list of inventory item types to return.resultAttributes(Consumer<ResultAttribute.Builder>... resultAttributes) The list of inventory item types to return.resultAttributes(ResultAttribute... resultAttributes) The list of inventory item types to return.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.ssm.model.SsmRequest.Builder
build
-
Method Details
-
filters
One or more filters. Use a filter to return a more specific list of results.
- Parameters:
filters- One or more filters. Use a filter to return a more specific list of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
One or more filters. Use a filter to return a more specific list of results.
- Parameters:
filters- One or more filters. Use a filter to return a more specific list of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
One or more filters. Use a filter to return a more specific list of results.
This is a convenience method that creates an instance of theInventoryFilter.Builderavoiding the need to create one manually viaInventoryFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<InventoryFilter>).- Parameters:
filters- a consumer that will call methods onInventoryFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregators
Returns counts of inventory types based on one or more expressions. For example, if you aggregate by using an expression that uses the
AWS:InstanceInformation.PlatformTypetype, you can see a count of how many Windows and Linux managed nodes exist in your inventoried fleet.- Parameters:
aggregators- Returns counts of inventory types based on one or more expressions. For example, if you aggregate by using an expression that uses theAWS:InstanceInformation.PlatformTypetype, you can see a count of how many Windows and Linux managed nodes exist in your inventoried fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregators
Returns counts of inventory types based on one or more expressions. For example, if you aggregate by using an expression that uses the
AWS:InstanceInformation.PlatformTypetype, you can see a count of how many Windows and Linux managed nodes exist in your inventoried fleet.- Parameters:
aggregators- Returns counts of inventory types based on one or more expressions. For example, if you aggregate by using an expression that uses theAWS:InstanceInformation.PlatformTypetype, you can see a count of how many Windows and Linux managed nodes exist in your inventoried fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregators
Returns counts of inventory types based on one or more expressions. For example, if you aggregate by using an expression that uses the
This is a convenience method that creates an instance of theAWS:InstanceInformation.PlatformTypetype, you can see a count of how many Windows and Linux managed nodes exist in your inventoried fleet.InventoryAggregator.Builderavoiding the need to create one manually viaInventoryAggregator.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaggregators(List<InventoryAggregator>).- Parameters:
aggregators- a consumer that will call methods onInventoryAggregator.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resultAttributes
The list of inventory item types to return.
- Parameters:
resultAttributes- The list of inventory item types to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultAttributes
The list of inventory item types to return.
- Parameters:
resultAttributes- The list of inventory item types to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultAttributes
The list of inventory item types to return.
This is a convenience method that creates an instance of theResultAttribute.Builderavoiding the need to create one manually viaResultAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresultAttributes(List<ResultAttribute>).- Parameters:
resultAttributes- a consumer that will call methods onResultAttribute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken- The token for the next set of items to return. (You received this token from a previous call.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
- Parameters:
maxResults- The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetInventoryRequest.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
GetInventoryRequest.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.
-