Struct aws_sdk_glue::model::direct_kinesis_source::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for DirectKinesisSource.
Implementations§
source§impl Builder
impl Builder
sourcepub fn window_size(self, input: i32) -> Self
pub fn window_size(self, input: i32) -> Self
The amount of time to spend processing each micro batch.
sourcepub fn set_window_size(self, input: Option<i32>) -> Self
pub fn set_window_size(self, input: Option<i32>) -> Self
The amount of time to spend processing each micro batch.
sourcepub fn detect_schema(self, input: bool) -> Self
pub fn detect_schema(self, input: bool) -> Self
Whether to automatically determine the schema from the incoming data.
sourcepub fn set_detect_schema(self, input: Option<bool>) -> Self
pub fn set_detect_schema(self, input: Option<bool>) -> Self
Whether to automatically determine the schema from the incoming data.
sourcepub fn streaming_options(self, input: KinesisStreamingSourceOptions) -> Self
pub fn streaming_options(self, input: KinesisStreamingSourceOptions) -> Self
Additional options for the Kinesis streaming data source.
sourcepub fn set_streaming_options(
self,
input: Option<KinesisStreamingSourceOptions>
) -> Self
pub fn set_streaming_options(
self,
input: Option<KinesisStreamingSourceOptions>
) -> Self
Additional options for the Kinesis streaming data source.
sourcepub fn data_preview_options(self, input: StreamingDataPreviewOptions) -> Self
pub fn data_preview_options(self, input: StreamingDataPreviewOptions) -> Self
Additional options for data preview.
sourcepub fn set_data_preview_options(
self,
input: Option<StreamingDataPreviewOptions>
) -> Self
pub fn set_data_preview_options(
self,
input: Option<StreamingDataPreviewOptions>
) -> Self
Additional options for data preview.
sourcepub fn build(self) -> DirectKinesisSource
pub fn build(self) -> DirectKinesisSource
Consumes the builder and constructs a DirectKinesisSource.