@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListJobsFilterTerm extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a condition that filters the results of a request for information about classification jobs. Each condition consists of a property, an operator, and one or more values.
Constructor and Description |
---|
ListJobsFilterTerm() |
Modifier and Type | Method and Description |
---|---|
ListJobsFilterTerm |
clone() |
boolean |
equals(Object obj) |
String |
getComparator()
The operator to use to filter the results.
|
String |
getKey()
The property to use to filter the results.
|
List<String> |
getValues()
An array that lists one or more values to use to filter the results.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComparator(String comparator)
The operator to use to filter the results.
|
void |
setKey(String key)
The property to use to filter the results.
|
void |
setValues(Collection<String> values)
An array that lists one or more values to use to filter the results.
|
String |
toString()
Returns a string representation of this object.
|
ListJobsFilterTerm |
withComparator(JobComparator comparator)
The operator to use to filter the results.
|
ListJobsFilterTerm |
withComparator(String comparator)
The operator to use to filter the results.
|
ListJobsFilterTerm |
withKey(ListJobsFilterKey key)
The property to use to filter the results.
|
ListJobsFilterTerm |
withKey(String key)
The property to use to filter the results.
|
ListJobsFilterTerm |
withValues(Collection<String> values)
An array that lists one or more values to use to filter the results.
|
ListJobsFilterTerm |
withValues(String... values)
An array that lists one or more values to use to filter the results.
|
public void setComparator(String comparator)
The operator to use to filter the results.
comparator
- The operator to use to filter the results.JobComparator
public String getComparator()
The operator to use to filter the results.
JobComparator
public ListJobsFilterTerm withComparator(String comparator)
The operator to use to filter the results.
comparator
- The operator to use to filter the results.JobComparator
public ListJobsFilterTerm withComparator(JobComparator comparator)
The operator to use to filter the results.
comparator
- The operator to use to filter the results.JobComparator
public void setKey(String key)
The property to use to filter the results.
key
- The property to use to filter the results.ListJobsFilterKey
public String getKey()
The property to use to filter the results.
ListJobsFilterKey
public ListJobsFilterTerm withKey(String key)
The property to use to filter the results.
key
- The property to use to filter the results.ListJobsFilterKey
public ListJobsFilterTerm withKey(ListJobsFilterKey key)
The property to use to filter the results.
key
- The property to use to filter the results.ListJobsFilterKey
public List<String> getValues()
An array that lists one or more values to use to filter the results.
public void setValues(Collection<String> values)
An array that lists one or more values to use to filter the results.
values
- An array that lists one or more values to use to filter the results.public ListJobsFilterTerm withValues(String... values)
An array that lists one or more values to use to filter the results.
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
- An array that lists one or more values to use to filter the results.public ListJobsFilterTerm withValues(Collection<String> values)
An array that lists one or more values to use to filter the results.
values
- An array that lists one or more values to use to filter the results.public String toString()
toString
in class Object
Object.toString()
public ListJobsFilterTerm clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.