Struct aws_sdk_glue::model::direct_kafka_source::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for DirectKafkaSource.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn streaming_options(self, input: KafkaStreamingSourceOptions) -> Self
pub fn streaming_options(self, input: KafkaStreamingSourceOptions) -> Self
Specifies the streaming options.
sourcepub fn set_streaming_options(
self,
input: Option<KafkaStreamingSourceOptions>
) -> Self
pub fn set_streaming_options(
self,
input: Option<KafkaStreamingSourceOptions>
) -> Self
Specifies the streaming options.
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 data_preview_options(self, input: StreamingDataPreviewOptions) -> Self
pub fn data_preview_options(self, input: StreamingDataPreviewOptions) -> Self
Specifies options related to data preview for viewing a sample of your data.
sourcepub fn set_data_preview_options(
self,
input: Option<StreamingDataPreviewOptions>
) -> Self
pub fn set_data_preview_options(
self,
input: Option<StreamingDataPreviewOptions>
) -> Self
Specifies options related to data preview for viewing a sample of your data.
sourcepub fn build(self) -> DirectKafkaSource
pub fn build(self) -> DirectKafkaSource
Consumes the builder and constructs a DirectKafkaSource.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more