@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3BucketDefinitionForJob extends Object implements Serializable, Cloneable, StructuredPojo
Specifies an Amazon Web Services account that owns S3 buckets for a classification job to analyze, and one or more specific buckets to analyze for that account.
Constructor and Description |
---|
S3BucketDefinitionForJob() |
Modifier and Type | Method and Description |
---|---|
S3BucketDefinitionForJob |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The unique identifier for the Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services account that owns the buckets.
accountId
- The unique identifier for the Amazon Web Services account that owns the buckets.public String getAccountId()
The unique identifier for the Amazon Web Services account that owns the buckets.
public S3BucketDefinitionForJob withAccountId(String accountId)
The unique identifier for the Amazon Web Services account that owns the buckets.
accountId
- The unique identifier for the Amazon Web Services 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 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.