@Generated(value="software.amazon.awssdk:codegen") public final class S3BucketDefinitionForJob extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3BucketDefinitionForJob.Builder,S3BucketDefinitionForJob>
Specifies which AWS account owns the S3 buckets that a classification job analyzes, and the buckets to analyze for the account.
| Modifier and Type | Class and Description |
|---|---|
static interface |
S3BucketDefinitionForJob.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The unique identifier for the AWS account that owns the buckets.
|
List<String> |
buckets()
An array that lists the names of the buckets.
|
static S3BucketDefinitionForJob.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasBuckets()
Returns true if the Buckets 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() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3BucketDefinitionForJob.Builder> |
serializableBuilderClass() |
S3BucketDefinitionForJob.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String accountId()
The unique identifier for the AWS account that owns the buckets. If you specify this value and don't specify a value for the buckets array, the job analyzes objects in all the buckets that are owned by the account and meet other conditions specified for the job.
public boolean hasBuckets()
public List<String> buckets()
An array that lists the names of the buckets.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasBuckets() to see if a value was sent in this field.
public S3BucketDefinitionForJob.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<S3BucketDefinitionForJob.Builder,S3BucketDefinitionForJob>public static S3BucketDefinitionForJob.Builder builder()
public static Class<? extends S3BucketDefinitionForJob.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.