@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InventoryFilter extends Object implements Serializable, Cloneable, StructuredPojo
One or more filters. Use a filter to return a more specific list of results.
Constructor and Description |
---|
InventoryFilter() |
Modifier and Type | Method and Description |
---|---|
InventoryFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The name of the filter key.
|
String |
getType()
The type of filter.
|
List<String> |
getValues()
Inventory filter values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
The name of the filter key.
|
void |
setType(InventoryQueryOperatorType type)
The type of filter.
|
void |
setType(String type)
The type of filter.
|
void |
setValues(Collection<String> values)
Inventory filter values.
|
String |
toString()
Returns a string representation of this object.
|
InventoryFilter |
withKey(String key)
The name of the filter key.
|
InventoryFilter |
withType(InventoryQueryOperatorType type)
The type of filter.
|
InventoryFilter |
withType(String type)
The type of filter.
|
InventoryFilter |
withValues(Collection<String> values)
Inventory filter values.
|
InventoryFilter |
withValues(String... values)
Inventory filter values.
|
public void setKey(String key)
The name of the filter key.
key
- The name of the filter key.public String getKey()
The name of the filter key.
public InventoryFilter withKey(String key)
The name of the filter key.
key
- The name of the filter key.public List<String> getValues()
Inventory filter values. Example: inventory filter where managed node IDs are specified as values
Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equal
.
Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equal
.public void setValues(Collection<String> values)
Inventory filter values. Example: inventory filter where managed node IDs are specified as values
Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equal
.
values
- Inventory filter values. Example: inventory filter where managed node IDs are specified as values
Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equal
.public InventoryFilter withValues(String... values)
Inventory filter values. Example: inventory filter where managed node IDs are specified as values
Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equal
.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- Inventory filter values. Example: inventory filter where managed node IDs are specified as values
Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equal
.public InventoryFilter withValues(Collection<String> values)
Inventory filter values. Example: inventory filter where managed node IDs are specified as values
Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equal
.
values
- Inventory filter values. Example: inventory filter where managed node IDs are specified as values
Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equal
.public void setType(String type)
The type of filter.
The Exists
filter must be used with aggregators. For more information, see Aggregating
inventory data in the Amazon Web Services Systems Manager User Guide.
type
- The type of filter.
The Exists
filter must be used with aggregators. For more information, see Aggregating inventory data in the Amazon Web Services Systems Manager User Guide.
InventoryQueryOperatorType
public String getType()
The type of filter.
The Exists
filter must be used with aggregators. For more information, see Aggregating
inventory data in the Amazon Web Services Systems Manager User Guide.
The Exists
filter must be used with aggregators. For more information, see Aggregating inventory data in the Amazon Web Services Systems Manager User Guide.
InventoryQueryOperatorType
public InventoryFilter withType(String type)
The type of filter.
The Exists
filter must be used with aggregators. For more information, see Aggregating
inventory data in the Amazon Web Services Systems Manager User Guide.
type
- The type of filter.
The Exists
filter must be used with aggregators. For more information, see Aggregating inventory data in the Amazon Web Services Systems Manager User Guide.
InventoryQueryOperatorType
public void setType(InventoryQueryOperatorType type)
The type of filter.
The Exists
filter must be used with aggregators. For more information, see Aggregating
inventory data in the Amazon Web Services Systems Manager User Guide.
type
- The type of filter.
The Exists
filter must be used with aggregators. For more information, see Aggregating inventory data in the Amazon Web Services Systems Manager User Guide.
InventoryQueryOperatorType
public InventoryFilter withType(InventoryQueryOperatorType type)
The type of filter.
The Exists
filter must be used with aggregators. For more information, see Aggregating
inventory data in the Amazon Web Services Systems Manager User Guide.
type
- The type of filter.
The Exists
filter must be used with aggregators. For more information, see Aggregating inventory data in the Amazon Web Services Systems Manager User Guide.
InventoryQueryOperatorType
public String toString()
toString
in class Object
Object.toString()
public InventoryFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.