Interface CatalogKinesisSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CatalogKinesisSource.Builder,
,CatalogKinesisSource> SdkBuilder<CatalogKinesisSource.Builder,
,CatalogKinesisSource> SdkPojo
- Enclosing class:
CatalogKinesisSource
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the database to read from.default CatalogKinesisSource.Builder
dataPreviewOptions
(Consumer<StreamingDataPreviewOptions.Builder> dataPreviewOptions) Additional options for data preview.dataPreviewOptions
(StreamingDataPreviewOptions dataPreviewOptions) Additional options for data preview.detectSchema
(Boolean detectSchema) Whether to automatically determine the schema from the incoming data.The name of the data source.default CatalogKinesisSource.Builder
streamingOptions
(Consumer<KinesisStreamingSourceOptions.Builder> streamingOptions) Additional options for the Kinesis streaming data source.streamingOptions
(KinesisStreamingSourceOptions streamingOptions) Additional options for the Kinesis streaming data source.The name of the table in the database to read from.windowSize
(Integer windowSize) The amount of time to spend processing each micro batch.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 Details
-
name
The name of the data source.
- Parameters:
name
- The name of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
windowSize
The amount of time to spend processing each micro batch.
- Parameters:
windowSize
- The amount of time to spend processing each micro batch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectSchema
Whether to automatically determine the schema from the incoming data.
- Parameters:
detectSchema
- Whether to automatically determine the schema from the incoming data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
table
The name of the table in the database to read from.
- Parameters:
table
- The name of the table in the database to read from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
database
The name of the database to read from.
- Parameters:
database
- The name of the database to read from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamingOptions
Additional options for the Kinesis streaming data source.
- Parameters:
streamingOptions
- Additional options for the Kinesis streaming data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamingOptions
default CatalogKinesisSource.Builder streamingOptions(Consumer<KinesisStreamingSourceOptions.Builder> streamingOptions) Additional options for the Kinesis streaming data source.
This is a convenience method that creates an instance of theKinesisStreamingSourceOptions.Builder
avoiding the need to create one manually viaKinesisStreamingSourceOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostreamingOptions(KinesisStreamingSourceOptions)
.- Parameters:
streamingOptions
- a consumer that will call methods onKinesisStreamingSourceOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataPreviewOptions
Additional options for data preview.
- Parameters:
dataPreviewOptions
- Additional options for data preview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPreviewOptions
default CatalogKinesisSource.Builder dataPreviewOptions(Consumer<StreamingDataPreviewOptions.Builder> dataPreviewOptions) Additional options for data preview.
This is a convenience method that creates an instance of theStreamingDataPreviewOptions.Builder
avoiding the need to create one manually viaStreamingDataPreviewOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataPreviewOptions(StreamingDataPreviewOptions)
.- Parameters:
dataPreviewOptions
- a consumer that will call methods onStreamingDataPreviewOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-