@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobScopeTerm extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a property- or tag-based condition that defines criteria for including or excluding S3 objects from a classification job. A JobScopeTerm object can contain only one simpleScopeTerm object or one tagScopeTerm object.
| Constructor and Description |
|---|
JobScopeTerm() |
| Modifier and Type | Method and Description |
|---|---|
JobScopeTerm |
clone() |
boolean |
equals(Object obj) |
SimpleScopeTerm |
getSimpleScopeTerm()
A property-based condition that defines a property, operator, and one or more values for including or excluding
objects from the job.
|
TagScopeTerm |
getTagScopeTerm()
A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or
excluding objects from the job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSimpleScopeTerm(SimpleScopeTerm simpleScopeTerm)
A property-based condition that defines a property, operator, and one or more values for including or excluding
objects from the job.
|
void |
setTagScopeTerm(TagScopeTerm tagScopeTerm)
A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or
excluding objects from the job.
|
String |
toString()
Returns a string representation of this object.
|
JobScopeTerm |
withSimpleScopeTerm(SimpleScopeTerm simpleScopeTerm)
A property-based condition that defines a property, operator, and one or more values for including or excluding
objects from the job.
|
JobScopeTerm |
withTagScopeTerm(TagScopeTerm tagScopeTerm)
A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or
excluding objects from the job.
|
public void setSimpleScopeTerm(SimpleScopeTerm simpleScopeTerm)
A property-based condition that defines a property, operator, and one or more values for including or excluding objects from the job.
simpleScopeTerm - A property-based condition that defines a property, operator, and one or more values for including or
excluding objects from the job.public SimpleScopeTerm getSimpleScopeTerm()
A property-based condition that defines a property, operator, and one or more values for including or excluding objects from the job.
public JobScopeTerm withSimpleScopeTerm(SimpleScopeTerm simpleScopeTerm)
A property-based condition that defines a property, operator, and one or more values for including or excluding objects from the job.
simpleScopeTerm - A property-based condition that defines a property, operator, and one or more values for including or
excluding objects from the job.public void setTagScopeTerm(TagScopeTerm tagScopeTerm)
A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or excluding objects from the job.
tagScopeTerm - A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or
excluding objects from the job.public TagScopeTerm getTagScopeTerm()
A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or excluding objects from the job.
public JobScopeTerm withTagScopeTerm(TagScopeTerm tagScopeTerm)
A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or excluding objects from the job.
tagScopeTerm - A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or
excluding objects from the job.public String toString()
toString in class ObjectObject.toString()public JobScopeTerm clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.