@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchQuantumTasksFilter extends Object implements Serializable, Cloneable, StructuredPojo
A filter to use to search for tasks.
Constructor and Description |
---|
SearchQuantumTasksFilter() |
Modifier and Type | Method and Description |
---|---|
SearchQuantumTasksFilter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the device used for the task.
|
String |
getOperator()
An operator to use in the filter.
|
List<String> |
getValues()
The values to use for the filter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the device used for the task.
|
void |
setOperator(String operator)
An operator to use in the filter.
|
void |
setValues(Collection<String> values)
The values to use for the filter.
|
String |
toString()
Returns a string representation of this object.
|
SearchQuantumTasksFilter |
withName(String name)
The name of the device used for the task.
|
SearchQuantumTasksFilter |
withOperator(SearchQuantumTasksFilterOperator operator)
An operator to use in the filter.
|
SearchQuantumTasksFilter |
withOperator(String operator)
An operator to use in the filter.
|
SearchQuantumTasksFilter |
withValues(Collection<String> values)
The values to use for the filter.
|
SearchQuantumTasksFilter |
withValues(String... values)
The values to use for the filter.
|
public void setName(String name)
The name of the device used for the task.
name
- The name of the device used for the task.public String getName()
The name of the device used for the task.
public SearchQuantumTasksFilter withName(String name)
The name of the device used for the task.
name
- The name of the device used for the task.public void setOperator(String operator)
An operator to use in the filter.
operator
- An operator to use in the filter.SearchQuantumTasksFilterOperator
public String getOperator()
An operator to use in the filter.
SearchQuantumTasksFilterOperator
public SearchQuantumTasksFilter withOperator(String operator)
An operator to use in the filter.
operator
- An operator to use in the filter.SearchQuantumTasksFilterOperator
public SearchQuantumTasksFilter withOperator(SearchQuantumTasksFilterOperator operator)
An operator to use in the filter.
operator
- An operator to use in the filter.SearchQuantumTasksFilterOperator
public List<String> getValues()
The values to use for the filter.
public void setValues(Collection<String> values)
The values to use for the filter.
values
- The values to use for the filter.public SearchQuantumTasksFilter withValues(String... values)
The values to use for the filter.
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 to use for the filter.public SearchQuantumTasksFilter withValues(Collection<String> values)
The values to use for the filter.
values
- The values to use for the filter.public String toString()
toString
in class Object
Object.toString()
public SearchQuantumTasksFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.