Interface ReferenceDataSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ReferenceDataSource.Builder,,ReferenceDataSource> SdkBuilder<ReferenceDataSource.Builder,,ReferenceDataSource> SdkPojo
- Enclosing class:
ReferenceDataSource
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.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.Builders3ReferenceDataSource(Consumer<S3ReferenceDataSource.Builder> s3ReferenceDataSource) Identifies the S3 bucket and object that contains the reference data.s3ReferenceDataSource(S3ReferenceDataSource s3ReferenceDataSource) Identifies the S3 bucket and object that contains the reference data.Name of the in-application table to create.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
tableName
Name of the in-application table to create.
- Parameters:
tableName- Name of the in-application table to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3ReferenceDataSource
Identifies the S3 bucket and object that contains the reference data. Also identifies the IAM role Amazon Kinesis Analytics can assume to read this object on your behalf. An Amazon Kinesis Analytics application loads reference data only once. If the data changes, you call the
UpdateApplicationoperation to trigger reloading of data into your application.- Parameters:
s3ReferenceDataSource- Identifies the S3 bucket and object that contains the reference data. Also identifies the IAM role Amazon Kinesis Analytics can assume to read this object on your behalf. An Amazon Kinesis Analytics application loads reference data only once. If the data changes, you call theUpdateApplicationoperation 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. Also identifies the IAM role Amazon Kinesis Analytics can assume to read this object on your behalf. An Amazon Kinesis Analytics application loads reference data only once. If the data changes, you call the
This is a convenience method that creates an instance of theUpdateApplicationoperation to trigger reloading of data into your application.S3ReferenceDataSource.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:
-
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
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:
-