@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3BucketDefinitionForJob extends Object implements Serializable, Cloneable, StructuredPojo
Specifies which AWS account owns the S3 buckets that a classification job analyzes, and the buckets to analyze for the account.
| Constructor and Description |
|---|
S3BucketDefinitionForJob() |
| Modifier and Type | Method and Description |
|---|---|
S3BucketDefinitionForJob |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The unique identifier for the AWS account that owns the buckets.
|
List<String> |
getBuckets()
An array that lists the names of the buckets.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAccountId(String accountId)
The unique identifier for the AWS account that owns the buckets.
|
void |
setBuckets(Collection<String> buckets)
An array that lists the names of the buckets.
|
String |
toString()
Returns a string representation of this object.
|
S3BucketDefinitionForJob |
withAccountId(String accountId)
The unique identifier for the AWS account that owns the buckets.
|
S3BucketDefinitionForJob |
withBuckets(Collection<String> buckets)
An array that lists the names of the buckets.
|
S3BucketDefinitionForJob |
withBuckets(String... buckets)
An array that lists the names of the buckets.
|
public void setAccountId(String accountId)
The unique identifier for the AWS account that owns the buckets.
accountId - The unique identifier for the AWS account that owns the buckets.public String getAccountId()
The unique identifier for the AWS account that owns the buckets.
public S3BucketDefinitionForJob withAccountId(String accountId)
The unique identifier for the AWS account that owns the buckets.
accountId - The unique identifier for the AWS account that owns the buckets.public List<String> getBuckets()
An array that lists the names of the buckets.
public void setBuckets(Collection<String> buckets)
An array that lists the names of the buckets.
buckets - An array that lists the names of the buckets.public S3BucketDefinitionForJob withBuckets(String... buckets)
An array that lists the names of the buckets.
NOTE: This method appends the values to the existing list (if any). Use
setBuckets(java.util.Collection) or withBuckets(java.util.Collection) if you want to override
the existing values.
buckets - An array that lists the names of the buckets.public S3BucketDefinitionForJob withBuckets(Collection<String> buckets)
An array that lists the names of the buckets.
buckets - An array that lists the names of the buckets.public String toString()
toString in class ObjectObject.toString()public S3BucketDefinitionForJob clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.