@Generated(value="software.amazon.awssdk:codegen") public final class S3JobDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3JobDefinition.Builder,S3JobDefinition>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
S3JobDefinition.Builder |
| Modifier and Type | Method and Description |
|---|---|
S3BucketCriteriaForJob |
bucketCriteria()
The property- and tag-based conditions that determine which S3 buckets to include or exclude from the analysis.
|
List<S3BucketDefinitionForJob> |
bucketDefinitions()
An array of objects, one for each AWS account that owns specific S3 buckets to analyze.
|
static S3JobDefinition.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasBucketDefinitions()
Returns true if the BucketDefinitions property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
Scoping |
scoping()
The property- and tag-based conditions that determine which S3 objects to include or exclude from the analysis.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3JobDefinition.Builder> |
serializableBuilderClass() |
S3JobDefinition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasBucketDefinitions()
public final List<S3BucketDefinitionForJob> bucketDefinitions()
An array of objects, one for each AWS 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasBucketDefinitions() to see if a value was sent in this field.
public final 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.
public final 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.
public S3JobDefinition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<S3JobDefinition.Builder,S3JobDefinition>public static S3JobDefinition.Builder builder()
public static Class<? extends S3JobDefinition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.