@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SimpleScopeTerm extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a property-based condition that determines whether an object is included or excluded from a classification job.
| Constructor and Description |
|---|
SimpleScopeTerm() |
| Modifier and Type | Method and Description |
|---|---|
SimpleScopeTerm |
clone() |
boolean |
equals(Object obj) |
String |
getComparator()
The operator to use in the condition.
|
String |
getKey()
The property to use in the condition.
|
List<String> |
getValues()
An array that lists one or more values to use in the condition.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setComparator(String comparator)
The operator to use in the condition.
|
void |
setKey(String key)
The property to use in the condition.
|
void |
setValues(Collection<String> values)
An array that lists one or more values to use in the condition.
|
String |
toString()
Returns a string representation of this object.
|
SimpleScopeTerm |
withComparator(JobComparator comparator)
The operator to use in the condition.
|
SimpleScopeTerm |
withComparator(String comparator)
The operator to use in the condition.
|
SimpleScopeTerm |
withKey(ScopeFilterKey key)
The property to use in the condition.
|
SimpleScopeTerm |
withKey(String key)
The property to use in the condition.
|
SimpleScopeTerm |
withValues(Collection<String> values)
An array that lists one or more values to use in the condition.
|
SimpleScopeTerm |
withValues(String... values)
An array that lists one or more values to use in the condition.
|
public void setComparator(String comparator)
The operator to use in the condition.
comparator - The operator to use in the condition.JobComparatorpublic String getComparator()
The operator to use in the condition.
JobComparatorpublic SimpleScopeTerm withComparator(String comparator)
The operator to use in the condition.
comparator - The operator to use in the condition.JobComparatorpublic SimpleScopeTerm withComparator(JobComparator comparator)
The operator to use in the condition.
comparator - The operator to use in the condition.JobComparatorpublic void setKey(String key)
The property to use in the condition.
key - The property to use in the condition.ScopeFilterKeypublic String getKey()
The property to use in the condition.
ScopeFilterKeypublic SimpleScopeTerm withKey(String key)
The property to use in the condition.
key - The property to use in the condition.ScopeFilterKeypublic SimpleScopeTerm withKey(ScopeFilterKey key)
The property to use in the condition.
key - The property to use in the condition.ScopeFilterKeypublic List<String> getValues()
An array that lists one or more values to use in the condition.
public void setValues(Collection<String> values)
An array that lists one or more values to use in the condition.
values - An array that lists one or more values to use in the condition.public SimpleScopeTerm withValues(String... values)
An array that lists one or more values to use in the condition.
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 in the condition.public SimpleScopeTerm withValues(Collection<String> values)
An array that lists one or more values to use in the condition.
values - An array that lists one or more values to use in the condition.public String toString()
toString in class ObjectObject.toString()public SimpleScopeTerm clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.