@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)
Marshalls this structured data using the given
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 ObjectObject.toString()public ReferenceDataSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.