@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Filter extends Object implements Serializable, Cloneable, StructuredPojo
A filter expression for the Elastic Inference Accelerator list.
Constructor and Description |
---|
Filter() |
Modifier and Type | Method and Description |
---|---|
Filter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The filter name for the Elastic Inference Accelerator list.
|
List<String> |
getValues()
The values for the filter of the Elastic Inference Accelerator list.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The filter name for the Elastic Inference Accelerator list.
|
void |
setValues(Collection<String> values)
The values for the filter of the Elastic Inference Accelerator list.
|
String |
toString()
Returns a string representation of this object.
|
Filter |
withName(String name)
The filter name for the Elastic Inference Accelerator list.
|
Filter |
withValues(Collection<String> values)
The values for the filter of the Elastic Inference Accelerator list.
|
Filter |
withValues(String... values)
The values for the filter of the Elastic Inference Accelerator list.
|
public void setName(String name)
The filter name for the Elastic Inference Accelerator list. It can assume the following values: accelerator-type: the type of Elastic Inference Accelerator to filter for. instance-id: an EC2 instance id to filter for.
name
- The filter name for the Elastic Inference Accelerator list. It can assume the following values:
accelerator-type: the type of Elastic Inference Accelerator to filter for. instance-id: an EC2 instance id
to filter for.public String getName()
The filter name for the Elastic Inference Accelerator list. It can assume the following values: accelerator-type: the type of Elastic Inference Accelerator to filter for. instance-id: an EC2 instance id to filter for.
public Filter withName(String name)
The filter name for the Elastic Inference Accelerator list. It can assume the following values: accelerator-type: the type of Elastic Inference Accelerator to filter for. instance-id: an EC2 instance id to filter for.
name
- The filter name for the Elastic Inference Accelerator list. It can assume the following values:
accelerator-type: the type of Elastic Inference Accelerator to filter for. instance-id: an EC2 instance id
to filter for.public List<String> getValues()
The values for the filter of the Elastic Inference Accelerator list.
public void setValues(Collection<String> values)
The values for the filter of the Elastic Inference Accelerator list.
values
- The values for the filter of the Elastic Inference Accelerator list.public Filter withValues(String... values)
The values for the filter of the Elastic Inference Accelerator list.
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
- The values for the filter of the Elastic Inference Accelerator list.public Filter withValues(Collection<String> values)
The values for the filter of the Elastic Inference Accelerator list.
values
- The values for the filter of the Elastic Inference Accelerator list.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.