@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 Amazon Web Services 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()
For responses, this returns true if the service returned a value for the BucketDefinitions property.
|
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()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasBucketDefinitions() method.
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 © 2022. All rights reserved.