@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSourceConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Defines configuration details about the data source.
Constructor and Description |
---|
DataSourceConfiguration() |
Modifier and Type | Method and Description |
---|---|
DataSourceConfiguration |
clone() |
boolean |
equals(Object obj) |
CsvConfiguration |
getCsvConfiguration() |
String |
getDataFormat()
This is currently CSV.
|
DataSourceS3Configuration |
getDataSourceS3Configuration()
Configuration of an S3 location for a file which contains data to load.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCsvConfiguration(CsvConfiguration csvConfiguration) |
void |
setDataFormat(String dataFormat)
This is currently CSV.
|
void |
setDataSourceS3Configuration(DataSourceS3Configuration dataSourceS3Configuration)
Configuration of an S3 location for a file which contains data to load.
|
String |
toString()
Returns a string representation of this object.
|
DataSourceConfiguration |
withCsvConfiguration(CsvConfiguration csvConfiguration) |
DataSourceConfiguration |
withDataFormat(BatchLoadDataFormat dataFormat)
This is currently CSV.
|
DataSourceConfiguration |
withDataFormat(String dataFormat)
This is currently CSV.
|
DataSourceConfiguration |
withDataSourceS3Configuration(DataSourceS3Configuration dataSourceS3Configuration)
Configuration of an S3 location for a file which contains data to load.
|
public void setDataSourceS3Configuration(DataSourceS3Configuration dataSourceS3Configuration)
Configuration of an S3 location for a file which contains data to load.
dataSourceS3Configuration
- Configuration of an S3 location for a file which contains data to load.public DataSourceS3Configuration getDataSourceS3Configuration()
Configuration of an S3 location for a file which contains data to load.
public DataSourceConfiguration withDataSourceS3Configuration(DataSourceS3Configuration dataSourceS3Configuration)
Configuration of an S3 location for a file which contains data to load.
dataSourceS3Configuration
- Configuration of an S3 location for a file which contains data to load.public void setCsvConfiguration(CsvConfiguration csvConfiguration)
csvConfiguration
- public CsvConfiguration getCsvConfiguration()
public DataSourceConfiguration withCsvConfiguration(CsvConfiguration csvConfiguration)
csvConfiguration
- public void setDataFormat(String dataFormat)
This is currently CSV.
dataFormat
- This is currently CSV.BatchLoadDataFormat
public String getDataFormat()
This is currently CSV.
BatchLoadDataFormat
public DataSourceConfiguration withDataFormat(String dataFormat)
This is currently CSV.
dataFormat
- This is currently CSV.BatchLoadDataFormat
public DataSourceConfiguration withDataFormat(BatchLoadDataFormat dataFormat)
This is currently CSV.
dataFormat
- This is currently CSV.BatchLoadDataFormat
public String toString()
toString
in class Object
Object.toString()
public DataSourceConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.