@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3DataSourceConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration information to connect to Amazon S3 as your data source.
Constructor and Description |
---|
S3DataSourceConfiguration() |
Modifier and Type | Method and Description |
---|---|
S3DataSourceConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getBucketArn()
The Amazon Resource Name (ARN) of the S3 bucket that contains your data.
|
String |
getBucketOwnerAccountId()
The account ID for the owner of the S3 bucket.
|
List<String> |
getInclusionPrefixes()
A list of S3 prefixes to include certain files or content.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketArn(String bucketArn)
The Amazon Resource Name (ARN) of the S3 bucket that contains your data.
|
void |
setBucketOwnerAccountId(String bucketOwnerAccountId)
The account ID for the owner of the S3 bucket.
|
void |
setInclusionPrefixes(Collection<String> inclusionPrefixes)
A list of S3 prefixes to include certain files or content.
|
String |
toString()
Returns a string representation of this object.
|
S3DataSourceConfiguration |
withBucketArn(String bucketArn)
The Amazon Resource Name (ARN) of the S3 bucket that contains your data.
|
S3DataSourceConfiguration |
withBucketOwnerAccountId(String bucketOwnerAccountId)
The account ID for the owner of the S3 bucket.
|
S3DataSourceConfiguration |
withInclusionPrefixes(Collection<String> inclusionPrefixes)
A list of S3 prefixes to include certain files or content.
|
S3DataSourceConfiguration |
withInclusionPrefixes(String... inclusionPrefixes)
A list of S3 prefixes to include certain files or content.
|
public void setBucketArn(String bucketArn)
The Amazon Resource Name (ARN) of the S3 bucket that contains your data.
bucketArn
- The Amazon Resource Name (ARN) of the S3 bucket that contains your data.public String getBucketArn()
The Amazon Resource Name (ARN) of the S3 bucket that contains your data.
public S3DataSourceConfiguration withBucketArn(String bucketArn)
The Amazon Resource Name (ARN) of the S3 bucket that contains your data.
bucketArn
- The Amazon Resource Name (ARN) of the S3 bucket that contains your data.public void setBucketOwnerAccountId(String bucketOwnerAccountId)
The account ID for the owner of the S3 bucket.
bucketOwnerAccountId
- The account ID for the owner of the S3 bucket.public String getBucketOwnerAccountId()
The account ID for the owner of the S3 bucket.
public S3DataSourceConfiguration withBucketOwnerAccountId(String bucketOwnerAccountId)
The account ID for the owner of the S3 bucket.
bucketOwnerAccountId
- The account ID for the owner of the S3 bucket.public List<String> getInclusionPrefixes()
A list of S3 prefixes to include certain files or content. For more information, see Organizing objects using prefixes.
public void setInclusionPrefixes(Collection<String> inclusionPrefixes)
A list of S3 prefixes to include certain files or content. For more information, see Organizing objects using prefixes.
inclusionPrefixes
- A list of S3 prefixes to include certain files or content. For more information, see Organizing objects using
prefixes.public S3DataSourceConfiguration withInclusionPrefixes(String... inclusionPrefixes)
A list of S3 prefixes to include certain files or content. For more information, see Organizing objects using prefixes.
NOTE: This method appends the values to the existing list (if any). Use
setInclusionPrefixes(java.util.Collection)
or withInclusionPrefixes(java.util.Collection)
if
you want to override the existing values.
inclusionPrefixes
- A list of S3 prefixes to include certain files or content. For more information, see Organizing objects using
prefixes.public S3DataSourceConfiguration withInclusionPrefixes(Collection<String> inclusionPrefixes)
A list of S3 prefixes to include certain files or content. For more information, see Organizing objects using prefixes.
inclusionPrefixes
- A list of S3 prefixes to include certain files or content. For more information, see Organizing objects using
prefixes.public String toString()
toString
in class Object
Object.toString()
public S3DataSourceConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.