Interface InventoryAggregator.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<InventoryAggregator.Builder,InventoryAggregator>
,SdkBuilder<InventoryAggregator.Builder,InventoryAggregator>
,SdkPojo
- Enclosing class:
- InventoryAggregator
public static interface InventoryAggregator.Builder extends SdkPojo, CopyableBuilder<InventoryAggregator.Builder,InventoryAggregator>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InventoryAggregator.Builder
aggregators(Collection<InventoryAggregator> aggregators)
Nested aggregators to further refine aggregation for an inventory type.InventoryAggregator.Builder
aggregators(Consumer<InventoryAggregator.Builder>... aggregators)
Nested aggregators to further refine aggregation for an inventory type.InventoryAggregator.Builder
aggregators(InventoryAggregator... aggregators)
Nested aggregators to further refine aggregation for an inventory type.InventoryAggregator.Builder
expression(String expression)
The inventory type and attribute name for aggregation.InventoryAggregator.Builder
groups(Collection<InventoryGroup> groups)
A user-defined set of one or more filters on which to aggregate inventory data.InventoryAggregator.Builder
groups(Consumer<InventoryGroup.Builder>... groups)
A user-defined set of one or more filters on which to aggregate inventory data.InventoryAggregator.Builder
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 Detail
-
expression
InventoryAggregator.Builder expression(String 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
InventoryAggregator.Builder aggregators(Collection<InventoryAggregator> 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
InventoryAggregator.Builder aggregators(InventoryAggregator... 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
InventoryAggregator.Builder aggregators(Consumer<InventoryAggregator.Builder>... 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 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
)
-
groups
InventoryAggregator.Builder groups(Collection<InventoryGroup> 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
InventoryAggregator.Builder groups(InventoryGroup... 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
InventoryAggregator.Builder groups(Consumer<InventoryGroup.Builder>... 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 to#groups(List
.) - 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:
#groups(java.util.Collection
)
-
-