Interface InventoryAggregator.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InventoryAggregator.Builder,
,InventoryAggregator> SdkBuilder<InventoryAggregator.Builder,
,InventoryAggregator> SdkPojo
- Enclosing class:
InventoryAggregator
-
Method Summary
Modifier and TypeMethodDescriptionaggregators
(Collection<InventoryAggregator> aggregators) Nested aggregators to further refine aggregation for an inventory type.aggregators
(Consumer<InventoryAggregator.Builder>... aggregators) Nested aggregators to further refine aggregation for an inventory type.aggregators
(InventoryAggregator... aggregators) Nested aggregators to further refine aggregation for an inventory type.expression
(String expression) The inventory type and attribute name for aggregation.groups
(Collection<InventoryGroup> groups) A user-defined set of one or more filters on which to aggregate inventory data.groups
(Consumer<InventoryGroup.Builder>... groups) A user-defined set of one or more filters on which to aggregate inventory data.groups
(InventoryGroup... groups) A user-defined set of one or more filters on which to aggregate inventory data.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
-
Method Details
-
expression
The inventory type and attribute name for aggregation.
- Parameters:
expression
- The inventory type and attribute name for aggregation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregators
Nested aggregators to further refine aggregation for an inventory type.
- Parameters:
aggregators
- Nested aggregators to further refine aggregation for an inventory type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregators
Nested aggregators to further refine aggregation for an inventory type.
- Parameters:
aggregators
- Nested aggregators to further refine aggregation for an inventory type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregators
Nested aggregators to further refine aggregation for an inventory type.
This is a convenience method that creates an instance of theInventoryAggregator.Builder
avoiding the need to create one manually viaInventoryAggregator.builder()
.When the
Consumer
completes,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:
-
groups
A user-defined set of one or more filters on which to aggregate inventory data. Groups return a count of resources that match and don't match the specified criteria.
- Parameters:
groups
- A user-defined set of one or more filters on which to aggregate inventory data. Groups return a count of resources that match and don't match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
A user-defined set of one or more filters on which to aggregate inventory data. Groups return a count of resources that match and don't match the specified criteria.
- Parameters:
groups
- A user-defined set of one or more filters on which to aggregate inventory data. Groups return a count of resources that match and don't match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
A user-defined set of one or more filters on which to aggregate inventory data. Groups return a count of resources that match and don't match the specified criteria.
This is a convenience method that creates an instance of theInventoryGroup.Builder
avoiding the need to create one manually viaInventoryGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroups(List<InventoryGroup>)
.- Parameters:
groups
- a consumer that will call methods onInventoryGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-