@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReferenceDataSource extends Object implements Serializable, Cloneable, StructuredPojo
For a SQL-based Kinesis Data Analytics application, describes the reference data source by providing the source information (Amazon 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()
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns
created in the in-application stream.
|
S3ReferenceDataSource |
getS3ReferenceDataSource()
Identifies the S3 bucket and object that contains the reference data.
|
String |
getTableName()
The 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)
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns
created in the in-application stream.
|
void |
setS3ReferenceDataSource(S3ReferenceDataSource s3ReferenceDataSource)
Identifies the S3 bucket and object that contains the reference data.
|
void |
setTableName(String tableName)
The name of the in-application table to create.
|
String |
toString()
Returns a string representation of this object.
|
ReferenceDataSource |
withReferenceSchema(SourceSchema referenceSchema)
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns
created in the in-application stream.
|
ReferenceDataSource |
withS3ReferenceDataSource(S3ReferenceDataSource s3ReferenceDataSource)
Identifies the S3 bucket and object that contains the reference data.
|
ReferenceDataSource |
withTableName(String tableName)
The name of the in-application table to create.
|
public void setTableName(String tableName)
The name of the in-application table to create.
tableName
- The name of the in-application table to create.public String getTableName()
The name of the in-application table to create.
public ReferenceDataSource withTableName(String tableName)
The name of the in-application table to create.
tableName
- The name of the in-application table to create.public void setS3ReferenceDataSource(S3ReferenceDataSource s3ReferenceDataSource)
Identifies the S3 bucket and object that contains the reference data. A SQL-based Kinesis Data Analytics application loads reference data only once. If the data changes, you call the UpdateApplication operation to trigger reloading of data into your application.
s3ReferenceDataSource
- Identifies the S3 bucket and object that contains the reference data. A SQL-based Kinesis Data Analytics
application loads reference data only once. If the data changes, you call the UpdateApplication
operation to trigger reloading of data into your application.public S3ReferenceDataSource getS3ReferenceDataSource()
Identifies the S3 bucket and object that contains the reference data. A SQL-based Kinesis Data Analytics application loads reference data only once. If the data changes, you call the UpdateApplication operation to trigger reloading of data into your application.
public ReferenceDataSource withS3ReferenceDataSource(S3ReferenceDataSource s3ReferenceDataSource)
Identifies the S3 bucket and object that contains the reference data. A SQL-based Kinesis Data Analytics application loads reference data only once. If the data changes, you call the UpdateApplication operation to trigger reloading of data into your application.
s3ReferenceDataSource
- Identifies the S3 bucket and object that contains the reference data. A SQL-based Kinesis Data Analytics
application loads reference data only once. If the data changes, you call the UpdateApplication
operation to trigger reloading of data into your application.public void setReferenceSchema(SourceSchema referenceSchema)
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.
referenceSchema
- Describes the format of the data in the streaming source, and how each data element maps to corresponding
columns created in the in-application stream.public SourceSchema getReferenceSchema()
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.
public ReferenceDataSource withReferenceSchema(SourceSchema referenceSchema)
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.
referenceSchema
- Describes the format of the data in the streaming source, and how each data element maps to corresponding
columns created in the in-application stream.public String toString()
toString
in class Object
Object.toString()
public ReferenceDataSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.