@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3DataSourceConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the S3 configuration of the data source.
Constructor and Description |
---|
S3DataSourceConfiguration() |
Modifier and Type | Method and Description |
---|---|
S3DataSourceConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getBucketArn()
The ARN of the bucket that contains the data source.
|
List<String> |
getInclusionPrefixes()
A list of S3 prefixes that define the object containing the data sources.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketArn(String bucketArn)
The ARN of the bucket that contains the data source.
|
void |
setInclusionPrefixes(Collection<String> inclusionPrefixes)
A list of S3 prefixes that define the object containing the data sources.
|
String |
toString()
Returns a string representation of this object.
|
S3DataSourceConfiguration |
withBucketArn(String bucketArn)
The ARN of the bucket that contains the data source.
|
S3DataSourceConfiguration |
withInclusionPrefixes(Collection<String> inclusionPrefixes)
A list of S3 prefixes that define the object containing the data sources.
|
S3DataSourceConfiguration |
withInclusionPrefixes(String... inclusionPrefixes)
A list of S3 prefixes that define the object containing the data sources.
|
public void setBucketArn(String bucketArn)
The ARN of the bucket that contains the data source.
bucketArn
- The ARN of the bucket that contains the data source.public String getBucketArn()
The ARN of the bucket that contains the data source.
public S3DataSourceConfiguration withBucketArn(String bucketArn)
The ARN of the bucket that contains the data source.
bucketArn
- The ARN of the bucket that contains the data source.public List<String> getInclusionPrefixes()
A list of S3 prefixes that define the object containing the data sources. For more information, see Organizing objects using prefixes.
public void setInclusionPrefixes(Collection<String> inclusionPrefixes)
A list of S3 prefixes that define the object containing the data sources. For more information, see Organizing objects using prefixes.
inclusionPrefixes
- A list of S3 prefixes that define the object containing the data sources. For more information, see Organizing objects using
prefixes.public S3DataSourceConfiguration withInclusionPrefixes(String... inclusionPrefixes)
A list of S3 prefixes that define the object containing the data sources. 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 that define the object containing the data sources. For more information, see Organizing objects using
prefixes.public S3DataSourceConfiguration withInclusionPrefixes(Collection<String> inclusionPrefixes)
A list of S3 prefixes that define the object containing the data sources. For more information, see Organizing objects using prefixes.
inclusionPrefixes
- A list of S3 prefixes that define the object containing the data sources. 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.