Interface ReferenceDataSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ReferenceDataSource.Builder,ReferenceDataSource>,SdkBuilder<ReferenceDataSource.Builder,ReferenceDataSource>,SdkPojo
- Enclosing class:
- ReferenceDataSource
public static interface ReferenceDataSource.Builder extends SdkPojo, CopyableBuilder<ReferenceDataSource.Builder,ReferenceDataSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ReferenceDataSource.BuilderreferenceSchema(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.BuilderreferenceSchema(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.Builders3ReferenceDataSource(Consumer<S3ReferenceDataSource.Builder> s3ReferenceDataSource)Identifies the S3 bucket and object that contains the reference data.ReferenceDataSource.Builders3ReferenceDataSource(S3ReferenceDataSource s3ReferenceDataSource)Identifies the S3 bucket and object that contains the reference data.ReferenceDataSource.BuildertableName(String tableName)The name of the in-application table to create.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
tableName
ReferenceDataSource.Builder tableName(String tableName)
The name of the in-application table to create.
- Parameters:
tableName- The name of the in-application table to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3ReferenceDataSource
ReferenceDataSource.Builder s3ReferenceDataSource(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3ReferenceDataSource
default ReferenceDataSource.Builder s3ReferenceDataSource(Consumer<S3ReferenceDataSource.Builder> 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.
This is a convenience method that creates an instance of theS3ReferenceDataSource.Builderavoiding the need to create one manually viaS3ReferenceDataSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3ReferenceDataSource(S3ReferenceDataSource).- Parameters:
s3ReferenceDataSource- a consumer that will call methods onS3ReferenceDataSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3ReferenceDataSource(S3ReferenceDataSource)
-
referenceSchema
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referenceSchema
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 method that creates an instance of theSourceSchema.Builderavoiding the need to create one manually viaSourceSchema.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreferenceSchema(SourceSchema).- Parameters:
referenceSchema- a consumer that will call methods onSourceSchema.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
referenceSchema(SourceSchema)
-
-