@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) |
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.JobComparatorpublic String getComparator()
The operator to use to filter the results.
JobComparatorpublic ListJobsFilterTerm withComparator(String comparator)
The operator to use to filter the results.
comparator - The operator to use to filter the results.JobComparatorpublic ListJobsFilterTerm withComparator(JobComparator comparator)
The operator to use to filter the results.
comparator - The operator to use to filter the results.JobComparatorpublic void setKey(String key)
The property to use to filter the results.
key - The property to use to filter the results.ListJobsFilterKeypublic String getKey()
The property to use to filter the results.
ListJobsFilterKeypublic ListJobsFilterTerm withKey(String key)
The property to use to filter the results.
key - The property to use to filter the results.ListJobsFilterKeypublic ListJobsFilterTerm withKey(ListJobsFilterKey key)
The property to use to filter the results.
key - The property to use to filter the results.ListJobsFilterKeypublic 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 ObjectObject.toString()public ListJobsFilterTerm clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.