@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InventoryAggregator extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the inventory type and attribute for the aggregation execution.
Constructor and Description |
---|
InventoryAggregator() |
Modifier and Type | Method and Description |
---|---|
InventoryAggregator |
clone() |
boolean |
equals(Object obj) |
List<InventoryAggregator> |
getAggregators()
Nested aggregators to further refine aggregation for an inventory type.
|
String |
getExpression()
The inventory type and attribute name for aggregation.
|
List<InventoryGroup> |
getGroups()
A user-defined set of one or more filters on which to aggregate inventory data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAggregators(Collection<InventoryAggregator> aggregators)
Nested aggregators to further refine aggregation for an inventory type.
|
void |
setExpression(String expression)
The inventory type and attribute name for aggregation.
|
void |
setGroups(Collection<InventoryGroup> groups)
A user-defined set of one or more filters on which to aggregate inventory data.
|
String |
toString()
Returns a string representation of this object.
|
InventoryAggregator |
withAggregators(Collection<InventoryAggregator> aggregators)
Nested aggregators to further refine aggregation for an inventory type.
|
InventoryAggregator |
withAggregators(InventoryAggregator... aggregators)
Nested aggregators to further refine aggregation for an inventory type.
|
InventoryAggregator |
withExpression(String expression)
The inventory type and attribute name for aggregation.
|
InventoryAggregator |
withGroups(Collection<InventoryGroup> groups)
A user-defined set of one or more filters on which to aggregate inventory data.
|
InventoryAggregator |
withGroups(InventoryGroup... groups)
A user-defined set of one or more filters on which to aggregate inventory data.
|
public void setExpression(String expression)
The inventory type and attribute name for aggregation.
expression
- The inventory type and attribute name for aggregation.public String getExpression()
The inventory type and attribute name for aggregation.
public InventoryAggregator withExpression(String expression)
The inventory type and attribute name for aggregation.
expression
- The inventory type and attribute name for aggregation.public List<InventoryAggregator> getAggregators()
Nested aggregators to further refine aggregation for an inventory type.
public void setAggregators(Collection<InventoryAggregator> aggregators)
Nested aggregators to further refine aggregation for an inventory type.
aggregators
- Nested aggregators to further refine aggregation for an inventory type.public InventoryAggregator withAggregators(InventoryAggregator... aggregators)
Nested aggregators to further refine aggregation for an inventory type.
NOTE: This method appends the values to the existing list (if any). Use
setAggregators(java.util.Collection)
or withAggregators(java.util.Collection)
if you want to
override the existing values.
aggregators
- Nested aggregators to further refine aggregation for an inventory type.public InventoryAggregator withAggregators(Collection<InventoryAggregator> aggregators)
Nested aggregators to further refine aggregation for an inventory type.
aggregators
- Nested aggregators to further refine aggregation for an inventory type.public List<InventoryGroup> getGroups()
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.
public void setGroups(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.
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.public InventoryAggregator withGroups(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.
NOTE: This method appends the values to the existing list (if any). Use
setGroups(java.util.Collection)
or withGroups(java.util.Collection)
if you want to override the
existing values.
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.public InventoryAggregator withGroups(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.
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.public String toString()
toString
in class Object
Object.toString()
public InventoryAggregator clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.