@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3BucketDefinitionForJob extends Object implements Serializable, Cloneable, StructuredPojo
Specifies which S3 buckets contain the objects that a classification job analyzes.
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 one or more of 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 one or more of 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 one or more of 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 one or more of the buckets. If specified, 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 one or more of the buckets. If specified, 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 one or more of the buckets. If specified, 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 one or more of the buckets. If specified, 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 one or more of the buckets. If specified, 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 Object
Object.toString()
public S3BucketDefinitionForJob clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.