@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)
Marshalls this structured data using the given
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.JobComparator
public String getComparator()
The operator to use in the condition.
JobComparator
public SimpleScopeTerm withComparator(String comparator)
The operator to use in the condition.
comparator
- The operator to use in the condition.JobComparator
public SimpleScopeTerm withComparator(JobComparator comparator)
The operator to use in the condition.
comparator
- The operator to use in the condition.JobComparator
public void setKey(String key)
The property to use in the condition.
key
- The property to use in the condition.ScopeFilterKey
public String getKey()
The property to use in the condition.
ScopeFilterKey
public SimpleScopeTerm withKey(String key)
The property to use in the condition.
key
- The property to use in the condition.ScopeFilterKey
public SimpleScopeTerm withKey(ScopeFilterKey key)
The property to use in the condition.
key
- The property to use in the condition.ScopeFilterKey
public 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 Object
Object.toString()
public SimpleScopeTerm clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.