@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobScopingBlock extends Object implements Serializable, Cloneable, StructuredPojo
Specifies one or more property- and tag-based conditions that define criteria for including or excluding objects from a classification job. If you specify more than one condition, Amazon Macie uses an AND operator to join the conditions.
| Constructor and Description |
|---|
JobScopingBlock() |
| Modifier and Type | Method and Description |
|---|---|
JobScopingBlock |
clone() |
boolean |
equals(Object obj) |
List<JobScopeTerm> |
getAnd()
An array of conditions, one for each condition that determines which objects to include or exclude from the job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAnd(Collection<JobScopeTerm> and)
An array of conditions, one for each condition that determines which objects to include or exclude from the job.
|
String |
toString()
Returns a string representation of this object.
|
JobScopingBlock |
withAnd(Collection<JobScopeTerm> and)
An array of conditions, one for each condition that determines which objects to include or exclude from the job.
|
JobScopingBlock |
withAnd(JobScopeTerm... and)
An array of conditions, one for each condition that determines which objects to include or exclude from the job.
|
public List<JobScopeTerm> getAnd()
An array of conditions, one for each condition that determines which objects to include or exclude from the job.
public void setAnd(Collection<JobScopeTerm> and)
An array of conditions, one for each condition that determines which objects to include or exclude from the job.
and - An array of conditions, one for each condition that determines which objects to include or exclude from
the job.public JobScopingBlock withAnd(JobScopeTerm... and)
An array of conditions, one for each condition that determines which objects to include or exclude from the job.
NOTE: This method appends the values to the existing list (if any). Use
setAnd(java.util.Collection) or withAnd(java.util.Collection) if you want to override the
existing values.
and - An array of conditions, one for each condition that determines which objects to include or exclude from
the job.public JobScopingBlock withAnd(Collection<JobScopeTerm> and)
An array of conditions, one for each condition that determines which objects to include or exclude from the job.
and - An array of conditions, one for each condition that determines which objects to include or exclude from
the job.public String toString()
toString in class ObjectObject.toString()public JobScopingBlock clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.