@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 S3 objects from a classification job.
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 property- or tag-based 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 property- or tag-based 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 property- or tag-based condition that determines which objects to include or
exclude from the job.
|
JobScopingBlock |
withAnd(JobScopeTerm... and)
An array of conditions, one for each property- or tag-based condition that determines which objects to include or
exclude from the job.
|
public List<JobScopeTerm> getAnd()
An array of conditions, one for each property- or tag-based condition that determines which objects to include or exclude from the job. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.
public void setAnd(Collection<JobScopeTerm> and)
An array of conditions, one for each property- or tag-based condition that determines which objects to include or exclude from the job. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.
and
- An array of conditions, one for each property- or tag-based condition that determines which objects to
include or exclude from the job. If you specify more than one condition, Amazon Macie uses AND logic to
join the conditions.public JobScopingBlock withAnd(JobScopeTerm... and)
An array of conditions, one for each property- or tag-based condition that determines which objects to include or exclude from the job. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.
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 property- or tag-based condition that determines which objects to
include or exclude from the job. If you specify more than one condition, Amazon Macie uses AND logic to
join the conditions.public JobScopingBlock withAnd(Collection<JobScopeTerm> and)
An array of conditions, one for each property- or tag-based condition that determines which objects to include or exclude from the job. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.
and
- An array of conditions, one for each property- or tag-based condition that determines which objects to
include or exclude from the job. If you specify more than one condition, Amazon Macie uses AND logic to
join the conditions.public String toString()
toString
in class Object
Object.toString()
public JobScopingBlock clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.