public static interface ReferenceDataSource.Builder extends SdkPojo, CopyableBuilder<ReferenceDataSource.Builder,ReferenceDataSource>
Modifier and Type | Method and Description |
---|---|
default ReferenceDataSource.Builder |
referenceSchema(Consumer<SourceSchema.Builder> 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.Builder |
referenceSchema(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.
|
default ReferenceDataSource.Builder |
s3ReferenceDataSource(Consumer<S3ReferenceDataSource.Builder> s3ReferenceDataSource)
Identifies the S3 bucket and object that contains the reference data.
|
ReferenceDataSource.Builder |
s3ReferenceDataSource(S3ReferenceDataSource s3ReferenceDataSource)
Identifies the S3 bucket and object that contains the reference data.
|
ReferenceDataSource.Builder |
tableName(String tableName)
The name of the in-application table to create.
|
copy
applyMutation, build
ReferenceDataSource.Builder tableName(String tableName)
The name of the in-application table to create.
tableName
- The name of the in-application table to create.ReferenceDataSource.Builder s3ReferenceDataSource(S3ReferenceDataSource s3ReferenceDataSource)
Identifies the S3 bucket and object that contains the reference data. A 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 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.default ReferenceDataSource.Builder s3ReferenceDataSource(Consumer<S3ReferenceDataSource.Builder> s3ReferenceDataSource)
Identifies the S3 bucket and object that contains the reference data. A 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.
This is a convenience that creates an instance of theS3ReferenceDataSource.Builder
avoiding the need
to create one manually via S3ReferenceDataSource.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to s3ReferenceDataSource(S3ReferenceDataSource)
.s3ReferenceDataSource
- a consumer that will call methods on S3ReferenceDataSource.Builder
s3ReferenceDataSource(S3ReferenceDataSource)
ReferenceDataSource.Builder referenceSchema(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.default ReferenceDataSource.Builder referenceSchema(Consumer<SourceSchema.Builder> 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.
This is a convenience that creates an instance of theSourceSchema.Builder
avoiding the need to
create one manually via SourceSchema.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to referenceSchema(SourceSchema)
.referenceSchema
- a consumer that will call methods on SourceSchema.Builder
referenceSchema(SourceSchema)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.