Struct aws_sdk_glue::types::builders::DirectKinesisSourceBuilder
source · #[non_exhaustive]pub struct DirectKinesisSourceBuilder { /* private fields */ }Expand description
A builder for DirectKinesisSource.
Implementations§
source§impl DirectKinesisSourceBuilder
impl DirectKinesisSourceBuilder
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 get_window_size(&self) -> &Option<i32>
pub fn get_window_size(&self) -> &Option<i32>
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 get_detect_schema(&self) -> &Option<bool>
pub fn get_detect_schema(&self) -> &Option<bool>
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 get_streaming_options(&self) -> &Option<KinesisStreamingSourceOptions>
pub fn get_streaming_options(&self) -> &Option<KinesisStreamingSourceOptions>
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 get_data_preview_options(&self) -> &Option<StreamingDataPreviewOptions>
pub fn get_data_preview_options(&self) -> &Option<StreamingDataPreviewOptions>
Additional options for data preview.
sourcepub fn build(self) -> DirectKinesisSource
pub fn build(self) -> DirectKinesisSource
Consumes the builder and constructs a DirectKinesisSource.
Trait Implementations§
source§impl Clone for DirectKinesisSourceBuilder
impl Clone for DirectKinesisSourceBuilder
source§fn clone(&self) -> DirectKinesisSourceBuilder
fn clone(&self) -> DirectKinesisSourceBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DirectKinesisSourceBuilder
impl Debug for DirectKinesisSourceBuilder
source§impl Default for DirectKinesisSourceBuilder
impl Default for DirectKinesisSourceBuilder
source§fn default() -> DirectKinesisSourceBuilder
fn default() -> DirectKinesisSourceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DirectKinesisSourceBuilder> for DirectKinesisSourceBuilder
impl PartialEq<DirectKinesisSourceBuilder> for DirectKinesisSourceBuilder
source§fn eq(&self, other: &DirectKinesisSourceBuilder) -> bool
fn eq(&self, other: &DirectKinesisSourceBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DirectKinesisSourceBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DirectKinesisSourceBuilder
impl Send for DirectKinesisSourceBuilder
impl Sync for DirectKinesisSourceBuilder
impl Unpin for DirectKinesisSourceBuilder
impl UnwindSafe for DirectKinesisSourceBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more