Struct aws_sdk_ssm::model::inventory_aggregator::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for InventoryAggregator.
Implementations§
source§impl Builder
impl Builder
sourcepub fn expression(self, input: impl Into<String>) -> Self
pub fn expression(self, input: impl Into<String>) -> Self
The inventory type and attribute name for aggregation.
sourcepub fn set_expression(self, input: Option<String>) -> Self
pub fn set_expression(self, input: Option<String>) -> Self
The inventory type and attribute name for aggregation.
sourcepub fn aggregators(self, input: InventoryAggregator) -> Self
pub fn aggregators(self, input: InventoryAggregator) -> Self
Appends an item to aggregators.
To override the contents of this collection use set_aggregators.
Nested aggregators to further refine aggregation for an inventory type.
sourcepub fn set_aggregators(self, input: Option<Vec<InventoryAggregator>>) -> Self
pub fn set_aggregators(self, input: Option<Vec<InventoryAggregator>>) -> Self
Nested aggregators to further refine aggregation for an inventory type.
sourcepub fn groups(self, input: InventoryGroup) -> Self
pub fn groups(self, input: InventoryGroup) -> Self
Appends an item to groups.
To override the contents of this collection use set_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.
sourcepub fn set_groups(self, input: Option<Vec<InventoryGroup>>) -> Self
pub fn set_groups(self, input: Option<Vec<InventoryGroup>>) -> Self
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.
sourcepub fn build(self) -> InventoryAggregator
pub fn build(self) -> InventoryAggregator
Consumes the builder and constructs a InventoryAggregator.