public static interface GetInventoryRequest.Builder extends SsmRequest.Builder, CopyableBuilder<GetInventoryRequest.Builder,GetInventoryRequest>
Modifier and Type | Method and Description |
---|---|
GetInventoryRequest.Builder |
aggregators(Collection<InventoryAggregator> aggregators)
Returns counts of inventory types based on one or more expressions.
|
GetInventoryRequest.Builder |
aggregators(Consumer<InventoryAggregator.Builder>... aggregators)
Returns counts of inventory types based on one or more expressions.
|
GetInventoryRequest.Builder |
aggregators(InventoryAggregator... aggregators)
Returns counts of inventory types based on one or more expressions.
|
GetInventoryRequest.Builder |
filters(Collection<InventoryFilter> filters)
One or more filters.
|
GetInventoryRequest.Builder |
filters(Consumer<InventoryFilter.Builder>... filters)
One or more filters.
|
GetInventoryRequest.Builder |
filters(InventoryFilter... filters)
One or more filters.
|
GetInventoryRequest.Builder |
maxResults(Integer maxResults)
The maximum number of items to return for this call.
|
GetInventoryRequest.Builder |
nextToken(String nextToken)
The token for the next set of items to return.
|
GetInventoryRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
GetInventoryRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
GetInventoryRequest.Builder |
resultAttributes(Collection<ResultAttribute> resultAttributes)
The list of inventory item types to return.
|
GetInventoryRequest.Builder |
resultAttributes(Consumer<ResultAttribute.Builder>... resultAttributes)
The list of inventory item types to return.
|
GetInventoryRequest.Builder |
resultAttributes(ResultAttribute... resultAttributes)
The list of inventory item types to return.
|
build
overrideConfiguration
copy
applyMutation, build
GetInventoryRequest.Builder filters(Collection<InventoryFilter> filters)
One or more filters. Use a filter to return a more specific list of results.
filters
- One or more filters. Use a filter to return a more specific list of results.GetInventoryRequest.Builder filters(InventoryFilter... filters)
One or more filters. Use a filter to return a more specific list of results.
filters
- One or more filters. Use a filter to return a more specific list of results.GetInventoryRequest.Builder filters(Consumer<InventoryFilter.Builder>... filters)
One or more filters. Use a filter to return a more specific list of results.
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 #filters(List)
.filters
- a consumer that will call methods on List.Builder
#filters(List)
GetInventoryRequest.Builder aggregators(Collection<InventoryAggregator> 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.PlatformType
type, you can see a count of how
many Windows and Linux instances exist in your inventoried fleet.
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.PlatformType
type, you can see
a count of how many Windows and Linux instances exist in your inventoried fleet.GetInventoryRequest.Builder aggregators(InventoryAggregator... 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.PlatformType
type, you can see a count of how
many Windows and Linux instances exist in your inventoried fleet.
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.PlatformType
type, you can see
a count of how many Windows and Linux instances exist in your inventoried fleet.GetInventoryRequest.Builder aggregators(Consumer<InventoryAggregator.Builder>... 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.PlatformType
type, you can see a count of how
many Windows and Linux instances exist in your inventoried fleet.
List.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 #aggregators(List)
.aggregators
- a consumer that will call methods on List.Builder
#aggregators(List)
GetInventoryRequest.Builder resultAttributes(Collection<ResultAttribute> resultAttributes)
The list of inventory item types to return.
resultAttributes
- The list of inventory item types to return.GetInventoryRequest.Builder resultAttributes(ResultAttribute... resultAttributes)
The list of inventory item types to return.
resultAttributes
- The list of inventory item types to return.GetInventoryRequest.Builder resultAttributes(Consumer<ResultAttribute.Builder>... resultAttributes)
The list of inventory item types to return.
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 #resultAttributes(List)
.resultAttributes
- a consumer that will call methods on List.Builder
#resultAttributes(List)
GetInventoryRequest.Builder nextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)GetInventoryRequest.Builder maxResults(Integer 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.
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.GetInventoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.GetInventoryRequest.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.