@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InventoryGroup extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
InventoryGroup() |
Modifier and Type | Method and Description |
---|---|
InventoryGroup |
clone() |
boolean |
equals(Object obj) |
List<InventoryFilter> |
getFilters()
Filters define the criteria for the group.
|
String |
getName()
The name of the group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFilters(Collection<InventoryFilter> filters)
Filters define the criteria for the group.
|
void |
setName(String name)
The name of the group.
|
String |
toString()
Returns a string representation of this object.
|
InventoryGroup |
withFilters(Collection<InventoryFilter> filters)
Filters define the criteria for the group.
|
InventoryGroup |
withFilters(InventoryFilter... filters)
Filters define the criteria for the group.
|
InventoryGroup |
withName(String name)
The name of the group.
|
public void setName(String name)
The name of the group.
name
- The name of the group.public String getName()
The name of the group.
public InventoryGroup withName(String name)
The name of the group.
name
- The name of the group.public List<InventoryFilter> getFilters()
Filters define the criteria for the group. The matchingCount
field displays the number of resources
that match the criteria. The notMatchingCount
field displays the number of resources that don't
match the criteria.
matchingCount
field displays the number of
resources that match the criteria. The notMatchingCount
field displays the number of
resources that don't match the criteria.public void setFilters(Collection<InventoryFilter> filters)
Filters define the criteria for the group. The matchingCount
field displays the number of resources
that match the criteria. The notMatchingCount
field displays the number of resources that don't
match the criteria.
filters
- Filters define the criteria for the group. The matchingCount
field displays the number of
resources that match the criteria. The notMatchingCount
field displays the number of
resources that don't match the criteria.public InventoryGroup withFilters(InventoryFilter... filters)
Filters define the criteria for the group. The matchingCount
field displays the number of resources
that match the criteria. The notMatchingCount
field displays the number of resources that don't
match the criteria.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- Filters define the criteria for the group. The matchingCount
field displays the number of
resources that match the criteria. The notMatchingCount
field displays the number of
resources that don't match the criteria.public InventoryGroup withFilters(Collection<InventoryFilter> filters)
Filters define the criteria for the group. The matchingCount
field displays the number of resources
that match the criteria. The notMatchingCount
field displays the number of resources that don't
match the criteria.
filters
- Filters define the criteria for the group. The matchingCount
field displays the number of
resources that match the criteria. The notMatchingCount
field displays the number of
resources that don't match the criteria.public String toString()
toString
in class Object
Object.toString()
public InventoryGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.