@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReferenceDataSource extends Object implements Serializable, Cloneable, StructuredPojo
Describes the reference data source by providing the source information (S3 bucket name and object key name), the resulting in-application table name that is created, and the necessary schema to map the data elements in the Amazon S3 object to the in-application table.
Constructor and Description |
---|
ReferenceDataSource() |
Modifier and Type | Method and Description |
---|---|
ReferenceDataSource |
clone() |
boolean |
equals(Object obj) |
SourceSchema |
getReferenceSchema() |
S3ReferenceDataSource |
getS3ReferenceDataSource() |
String |
getTableName()
Name of the in-application table to create.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setReferenceSchema(SourceSchema referenceSchema) |
void |
setS3ReferenceDataSource(S3ReferenceDataSource s3ReferenceDataSource) |
void |
setTableName(String tableName)
Name of the in-application table to create.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ReferenceDataSource |
withReferenceSchema(SourceSchema referenceSchema) |
ReferenceDataSource |
withS3ReferenceDataSource(S3ReferenceDataSource s3ReferenceDataSource) |
ReferenceDataSource |
withTableName(String tableName)
Name of the in-application table to create.
|
public void setTableName(String tableName)
Name of the in-application table to create.
tableName
- Name of the in-application table to create.public String getTableName()
Name of the in-application table to create.
public ReferenceDataSource withTableName(String tableName)
Name of the in-application table to create.
tableName
- Name of the in-application table to create.public void setS3ReferenceDataSource(S3ReferenceDataSource s3ReferenceDataSource)
s3ReferenceDataSource
- public S3ReferenceDataSource getS3ReferenceDataSource()
public ReferenceDataSource withS3ReferenceDataSource(S3ReferenceDataSource s3ReferenceDataSource)
s3ReferenceDataSource
- public void setReferenceSchema(SourceSchema referenceSchema)
referenceSchema
- public SourceSchema getReferenceSchema()
public ReferenceDataSource withReferenceSchema(SourceSchema referenceSchema)
referenceSchema
- public String toString()
toString
in class Object
Object.toString()
public ReferenceDataSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2017. All rights reserved.