@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Source extends Object implements Serializable, Cloneable, StructuredPojo
A physical table type for an S3 data source.
Constructor and Description |
---|
S3Source() |
Modifier and Type | Method and Description |
---|---|
S3Source |
clone() |
boolean |
equals(Object obj) |
String |
getDataSourceArn()
The Amazon Resource Name (ARN) for the data source.
|
List<InputColumn> |
getInputColumns()
A physical table type for an S3 data source.
|
UploadSettings |
getUploadSettings()
Information about the format for the S3 source file or files.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataSourceArn(String dataSourceArn)
The Amazon Resource Name (ARN) for the data source.
|
void |
setInputColumns(Collection<InputColumn> inputColumns)
A physical table type for an S3 data source.
|
void |
setUploadSettings(UploadSettings uploadSettings)
Information about the format for the S3 source file or files.
|
String |
toString()
Returns a string representation of this object.
|
S3Source |
withDataSourceArn(String dataSourceArn)
The Amazon Resource Name (ARN) for the data source.
|
S3Source |
withInputColumns(Collection<InputColumn> inputColumns)
A physical table type for an S3 data source.
|
S3Source |
withInputColumns(InputColumn... inputColumns)
A physical table type for an S3 data source.
|
S3Source |
withUploadSettings(UploadSettings uploadSettings)
Information about the format for the S3 source file or files.
|
public void setDataSourceArn(String dataSourceArn)
The Amazon Resource Name (ARN) for the data source.
dataSourceArn
- The Amazon Resource Name (ARN) for the data source.public String getDataSourceArn()
The Amazon Resource Name (ARN) for the data source.
public S3Source withDataSourceArn(String dataSourceArn)
The Amazon Resource Name (ARN) for the data source.
dataSourceArn
- The Amazon Resource Name (ARN) for the data source.public void setUploadSettings(UploadSettings uploadSettings)
Information about the format for the S3 source file or files.
uploadSettings
- Information about the format for the S3 source file or files.public UploadSettings getUploadSettings()
Information about the format for the S3 source file or files.
public S3Source withUploadSettings(UploadSettings uploadSettings)
Information about the format for the S3 source file or files.
uploadSettings
- Information about the format for the S3 source file or files.public List<InputColumn> getInputColumns()
A physical table type for an S3 data source.
For files that aren't JSON, only STRING
data types are supported in input columns.
For files that aren't JSON, only STRING
data types are supported in input columns.
public void setInputColumns(Collection<InputColumn> inputColumns)
A physical table type for an S3 data source.
For files that aren't JSON, only STRING
data types are supported in input columns.
inputColumns
- A physical table type for an S3 data source.
For files that aren't JSON, only STRING
data types are supported in input columns.
public S3Source withInputColumns(InputColumn... inputColumns)
A physical table type for an S3 data source.
For files that aren't JSON, only STRING
data types are supported in input columns.
NOTE: This method appends the values to the existing list (if any). Use
setInputColumns(java.util.Collection)
or withInputColumns(java.util.Collection)
if you want to
override the existing values.
inputColumns
- A physical table type for an S3 data source.
For files that aren't JSON, only STRING
data types are supported in input columns.
public S3Source withInputColumns(Collection<InputColumn> inputColumns)
A physical table type for an S3 data source.
For files that aren't JSON, only STRING
data types are supported in input columns.
inputColumns
- A physical table type for an S3 data source.
For files that aren't JSON, only STRING
data types are supported in input columns.
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.