@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3SourceConfig extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the configuration of the S3 bucket that contains source files.
Constructor and Description |
---|
S3SourceConfig() |
Modifier and Type | Method and Description |
---|---|
S3SourceConfig |
clone() |
boolean |
equals(Object obj) |
FileFormatDescriptor |
getFileFormatDescriptor()
Contains information about a source file's formatting.
|
List<String> |
getHistoricalDataPathList()
A list of paths to the historical data files.
|
String |
getRoleArn()
The ARN of an IAM role that has read and write access permissions to the source S3 bucket.
|
List<String> |
getTemplatedPathList()
A list of templated paths to the source files.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFileFormatDescriptor(FileFormatDescriptor fileFormatDescriptor)
Contains information about a source file's formatting.
|
void |
setHistoricalDataPathList(Collection<String> historicalDataPathList)
A list of paths to the historical data files.
|
void |
setRoleArn(String roleArn)
The ARN of an IAM role that has read and write access permissions to the source S3 bucket.
|
void |
setTemplatedPathList(Collection<String> templatedPathList)
A list of templated paths to the source files.
|
String |
toString()
Returns a string representation of this object.
|
S3SourceConfig |
withFileFormatDescriptor(FileFormatDescriptor fileFormatDescriptor)
Contains information about a source file's formatting.
|
S3SourceConfig |
withHistoricalDataPathList(Collection<String> historicalDataPathList)
A list of paths to the historical data files.
|
S3SourceConfig |
withHistoricalDataPathList(String... historicalDataPathList)
A list of paths to the historical data files.
|
S3SourceConfig |
withRoleArn(String roleArn)
The ARN of an IAM role that has read and write access permissions to the source S3 bucket.
|
S3SourceConfig |
withTemplatedPathList(Collection<String> templatedPathList)
A list of templated paths to the source files.
|
S3SourceConfig |
withTemplatedPathList(String... templatedPathList)
A list of templated paths to the source files.
|
public void setRoleArn(String roleArn)
The ARN of an IAM role that has read and write access permissions to the source S3 bucket.
roleArn
- The ARN of an IAM role that has read and write access permissions to the source S3 bucket.public String getRoleArn()
The ARN of an IAM role that has read and write access permissions to the source S3 bucket.
public S3SourceConfig withRoleArn(String roleArn)
The ARN of an IAM role that has read and write access permissions to the source S3 bucket.
roleArn
- The ARN of an IAM role that has read and write access permissions to the source S3 bucket.public List<String> getTemplatedPathList()
A list of templated paths to the source files.
public void setTemplatedPathList(Collection<String> templatedPathList)
A list of templated paths to the source files.
templatedPathList
- A list of templated paths to the source files.public S3SourceConfig withTemplatedPathList(String... templatedPathList)
A list of templated paths to the source files.
NOTE: This method appends the values to the existing list (if any). Use
setTemplatedPathList(java.util.Collection)
or withTemplatedPathList(java.util.Collection)
if
you want to override the existing values.
templatedPathList
- A list of templated paths to the source files.public S3SourceConfig withTemplatedPathList(Collection<String> templatedPathList)
A list of templated paths to the source files.
templatedPathList
- A list of templated paths to the source files.public List<String> getHistoricalDataPathList()
A list of paths to the historical data files.
public void setHistoricalDataPathList(Collection<String> historicalDataPathList)
A list of paths to the historical data files.
historicalDataPathList
- A list of paths to the historical data files.public S3SourceConfig withHistoricalDataPathList(String... historicalDataPathList)
A list of paths to the historical data files.
NOTE: This method appends the values to the existing list (if any). Use
setHistoricalDataPathList(java.util.Collection)
or
withHistoricalDataPathList(java.util.Collection)
if you want to override the existing values.
historicalDataPathList
- A list of paths to the historical data files.public S3SourceConfig withHistoricalDataPathList(Collection<String> historicalDataPathList)
A list of paths to the historical data files.
historicalDataPathList
- A list of paths to the historical data files.public void setFileFormatDescriptor(FileFormatDescriptor fileFormatDescriptor)
Contains information about a source file's formatting.
fileFormatDescriptor
- Contains information about a source file's formatting.public FileFormatDescriptor getFileFormatDescriptor()
Contains information about a source file's formatting.
public S3SourceConfig withFileFormatDescriptor(FileFormatDescriptor fileFormatDescriptor)
Contains information about a source file's formatting.
fileFormatDescriptor
- Contains information about a source file's formatting.public String toString()
toString
in class Object
Object.toString()
public S3SourceConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.