Interface GetInventoryRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetInventoryRequest.Builder,GetInventoryRequest>
,SdkBuilder<GetInventoryRequest.Builder,GetInventoryRequest>
,SdkPojo
,SdkRequest.Builder
,SsmRequest.Builder
- Enclosing class:
- GetInventoryRequest
public static interface GetInventoryRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<GetInventoryRequest.Builder,GetInventoryRequest>
-
-
Method Summary
-
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 Detail
-
filters
GetInventoryRequest.Builder filters(Collection<InventoryFilter> 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
GetInventoryRequest.Builder filters(InventoryFilter... 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
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 method that creates an instance of theInventoryFilter.Builder
avoiding the need to create one manually viaInventoryFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#filters(List
.) - 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:
#filters(java.util.Collection
)
-
aggregators
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 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.PlatformType
type, 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
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 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.PlatformType
type, 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
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
This is a convenience method that creates an instance of theAWS:InstanceInformation.PlatformType
type, you can see a count of how many Windows and Linux managed nodes exist in your inventoried fleet.InventoryAggregator.Builder
avoiding the need to create one manually viaInventoryAggregator.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#aggregators(List
.) - 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:
#aggregators(java.util.Collection
)
-
resultAttributes
GetInventoryRequest.Builder resultAttributes(Collection<ResultAttribute> 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
GetInventoryRequest.Builder resultAttributes(ResultAttribute... 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
GetInventoryRequest.Builder resultAttributes(Consumer<ResultAttribute.Builder>... resultAttributes)
The list of inventory item types to return.
This is a convenience method that creates an instance of theResultAttribute.Builder
avoiding the need to create one manually viaResultAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#resultAttributes(List
.) - 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:
#resultAttributes(java.util.Collection
)
-
nextToken
GetInventoryRequest.Builder nextToken(String 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
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.
- 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
GetInventoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-