@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3JobDefinition extends Object implements Serializable, Cloneable, StructuredPojo
Specifies which S3 buckets contain the objects that a classification job analyzes, and the scope of that analysis. The bucket specification can be static (bucketDefinitions) or dynamic (bucketCriteria). If it's static, the job analyzes objects in the same predefined set of buckets each time the job runs. If it's dynamic, the job analyzes objects in any buckets that match the specified criteria each time the job starts to run.
Constructor and Description |
---|
S3JobDefinition() |
Modifier and Type | Method and Description |
---|---|
S3JobDefinition |
clone() |
boolean |
equals(Object obj) |
S3BucketCriteriaForJob |
getBucketCriteria()
The property- and tag-based conditions that determine which S3 buckets to include or exclude from the analysis.
|
List<S3BucketDefinitionForJob> |
getBucketDefinitions()
An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze.
|
Scoping |
getScoping()
The property- and tag-based conditions that determine which S3 objects to include or exclude from the analysis.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketCriteria(S3BucketCriteriaForJob bucketCriteria)
The property- and tag-based conditions that determine which S3 buckets to include or exclude from the analysis.
|
void |
setBucketDefinitions(Collection<S3BucketDefinitionForJob> bucketDefinitions)
An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze.
|
void |
setScoping(Scoping scoping)
The property- and tag-based conditions that determine which S3 objects to include or exclude from the analysis.
|
String |
toString()
Returns a string representation of this object.
|
S3JobDefinition |
withBucketCriteria(S3BucketCriteriaForJob bucketCriteria)
The property- and tag-based conditions that determine which S3 buckets to include or exclude from the analysis.
|
S3JobDefinition |
withBucketDefinitions(Collection<S3BucketDefinitionForJob> bucketDefinitions)
An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze.
|
S3JobDefinition |
withBucketDefinitions(S3BucketDefinitionForJob... bucketDefinitions)
An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze.
|
S3JobDefinition |
withScoping(Scoping scoping)
The property- and tag-based conditions that determine which S3 objects to include or exclude from the analysis.
|
public void setBucketCriteria(S3BucketCriteriaForJob bucketCriteria)
The property- and tag-based conditions that determine which S3 buckets to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which buckets contain objects to analyze. A job's definition can contain a bucketCriteria object or a bucketDefinitions array, not both.
bucketCriteria
- The property- and tag-based conditions that determine which S3 buckets to include or exclude from the
analysis. Each time the job runs, the job uses these criteria to determine which buckets contain objects
to analyze. A job's definition can contain a bucketCriteria object or a bucketDefinitions array, not both.public S3BucketCriteriaForJob getBucketCriteria()
The property- and tag-based conditions that determine which S3 buckets to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which buckets contain objects to analyze. A job's definition can contain a bucketCriteria object or a bucketDefinitions array, not both.
public S3JobDefinition withBucketCriteria(S3BucketCriteriaForJob bucketCriteria)
The property- and tag-based conditions that determine which S3 buckets to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which buckets contain objects to analyze. A job's definition can contain a bucketCriteria object or a bucketDefinitions array, not both.
bucketCriteria
- The property- and tag-based conditions that determine which S3 buckets to include or exclude from the
analysis. Each time the job runs, the job uses these criteria to determine which buckets contain objects
to analyze. A job's definition can contain a bucketCriteria object or a bucketDefinitions array, not both.public List<S3BucketDefinitionForJob> getBucketDefinitions()
An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.
public void setBucketDefinitions(Collection<S3BucketDefinitionForJob> bucketDefinitions)
An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.
bucketDefinitions
- An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze.
Each object specifies the account ID for an account and one or more buckets to analyze for that account. A
job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.public S3JobDefinition withBucketDefinitions(S3BucketDefinitionForJob... bucketDefinitions)
An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.
NOTE: This method appends the values to the existing list (if any). Use
setBucketDefinitions(java.util.Collection)
or withBucketDefinitions(java.util.Collection)
if
you want to override the existing values.
bucketDefinitions
- An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze.
Each object specifies the account ID for an account and one or more buckets to analyze for that account. A
job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.public S3JobDefinition withBucketDefinitions(Collection<S3BucketDefinitionForJob> bucketDefinitions)
An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.
bucketDefinitions
- An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze.
Each object specifies the account ID for an account and one or more buckets to analyze for that account. A
job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.public void setScoping(Scoping scoping)
The property- and tag-based conditions that determine which S3 objects to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which objects to analyze.
scoping
- The property- and tag-based conditions that determine which S3 objects to include or exclude from the
analysis. Each time the job runs, the job uses these criteria to determine which objects to analyze.public Scoping getScoping()
The property- and tag-based conditions that determine which S3 objects to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which objects to analyze.
public S3JobDefinition withScoping(Scoping scoping)
The property- and tag-based conditions that determine which S3 objects to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which objects to analyze.
scoping
- The property- and tag-based conditions that determine which S3 objects to include or exclude from the
analysis. Each time the job runs, the job uses these criteria to determine which objects to analyze.public String toString()
toString
in class Object
Object.toString()
public S3JobDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.