@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)
Marshalls this structured data using the given
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. 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.
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 String getAccountId()
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 S3BucketDefinitionForJob withAccountId(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.
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 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)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.