@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) |
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 instance IDs are specified as values Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equal
public void setValues(Collection<String> values)
Inventory filter values. Example: inventory filter where instance IDs are specified as values Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equal
values - Inventory filter values. Example: inventory filter where instance IDs are specified as values
Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equalpublic InventoryFilter withValues(String... values)
Inventory filter values. Example: inventory filter where instance 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 instance IDs are specified as values
Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equalpublic InventoryFilter withValues(Collection<String> values)
Inventory filter values. Example: inventory filter where instance IDs are specified as values Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equal
values - Inventory filter values. Example: inventory filter where instance IDs are specified as values
Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equalpublic void setType(String type)
The type of filter. Valid values include the following: "Equal"|"NotEqual"|"BeginWith"|"LessThan"|"GreaterThan"
type - The type of filter. Valid values include the following:
"Equal"|"NotEqual"|"BeginWith"|"LessThan"|"GreaterThan"InventoryQueryOperatorTypepublic String getType()
The type of filter. Valid values include the following: "Equal"|"NotEqual"|"BeginWith"|"LessThan"|"GreaterThan"
InventoryQueryOperatorTypepublic InventoryFilter withType(String type)
The type of filter. Valid values include the following: "Equal"|"NotEqual"|"BeginWith"|"LessThan"|"GreaterThan"
type - The type of filter. Valid values include the following:
"Equal"|"NotEqual"|"BeginWith"|"LessThan"|"GreaterThan"InventoryQueryOperatorTypepublic void setType(InventoryQueryOperatorType type)
The type of filter. Valid values include the following: "Equal"|"NotEqual"|"BeginWith"|"LessThan"|"GreaterThan"
type - The type of filter. Valid values include the following:
"Equal"|"NotEqual"|"BeginWith"|"LessThan"|"GreaterThan"InventoryQueryOperatorTypepublic InventoryFilter withType(InventoryQueryOperatorType type)
The type of filter. Valid values include the following: "Equal"|"NotEqual"|"BeginWith"|"LessThan"|"GreaterThan"
type - The type of filter. Valid values include the following:
"Equal"|"NotEqual"|"BeginWith"|"LessThan"|"GreaterThan"InventoryQueryOperatorTypepublic String toString()
toString in class ObjectObject.toString()public InventoryFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.