#[non_exhaustive]pub struct InputSchemaUpdateBuilder { /* private fields */ }
Expand description
A builder for InputSchemaUpdate
.
Implementations§
source§impl InputSchemaUpdateBuilder
impl InputSchemaUpdateBuilder
sourcepub fn record_format_update(self, input: RecordFormat) -> Self
pub fn record_format_update(self, input: RecordFormat) -> Self
Specifies the format of the records on the streaming source.
sourcepub fn set_record_format_update(self, input: Option<RecordFormat>) -> Self
pub fn set_record_format_update(self, input: Option<RecordFormat>) -> Self
Specifies the format of the records on the streaming source.
sourcepub fn get_record_format_update(&self) -> &Option<RecordFormat>
pub fn get_record_format_update(&self) -> &Option<RecordFormat>
Specifies the format of the records on the streaming source.
sourcepub fn record_encoding_update(self, input: impl Into<String>) -> Self
pub fn record_encoding_update(self, input: impl Into<String>) -> Self
Specifies the encoding of the records in the streaming source. For example, UTF-8.
sourcepub fn set_record_encoding_update(self, input: Option<String>) -> Self
pub fn set_record_encoding_update(self, input: Option<String>) -> Self
Specifies the encoding of the records in the streaming source. For example, UTF-8.
sourcepub fn get_record_encoding_update(&self) -> &Option<String>
pub fn get_record_encoding_update(&self) -> &Option<String>
Specifies the encoding of the records in the streaming source. For example, UTF-8.
sourcepub fn record_column_updates(self, input: RecordColumn) -> Self
pub fn record_column_updates(self, input: RecordColumn) -> Self
Appends an item to record_column_updates
.
To override the contents of this collection use set_record_column_updates
.
A list of RecordColumn
objects. Each object describes the mapping of the streaming source element to the corresponding column in the in-application stream.
sourcepub fn set_record_column_updates(self, input: Option<Vec<RecordColumn>>) -> Self
pub fn set_record_column_updates(self, input: Option<Vec<RecordColumn>>) -> Self
A list of RecordColumn
objects. Each object describes the mapping of the streaming source element to the corresponding column in the in-application stream.
sourcepub fn get_record_column_updates(&self) -> &Option<Vec<RecordColumn>>
pub fn get_record_column_updates(&self) -> &Option<Vec<RecordColumn>>
A list of RecordColumn
objects. Each object describes the mapping of the streaming source element to the corresponding column in the in-application stream.
sourcepub fn build(self) -> InputSchemaUpdate
pub fn build(self) -> InputSchemaUpdate
Consumes the builder and constructs a InputSchemaUpdate
.
Trait Implementations§
source§impl Clone for InputSchemaUpdateBuilder
impl Clone for InputSchemaUpdateBuilder
source§fn clone(&self) -> InputSchemaUpdateBuilder
fn clone(&self) -> InputSchemaUpdateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InputSchemaUpdateBuilder
impl Debug for InputSchemaUpdateBuilder
source§impl Default for InputSchemaUpdateBuilder
impl Default for InputSchemaUpdateBuilder
source§fn default() -> InputSchemaUpdateBuilder
fn default() -> InputSchemaUpdateBuilder
source§impl PartialEq for InputSchemaUpdateBuilder
impl PartialEq for InputSchemaUpdateBuilder
source§fn eq(&self, other: &InputSchemaUpdateBuilder) -> bool
fn eq(&self, other: &InputSchemaUpdateBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InputSchemaUpdateBuilder
Auto Trait Implementations§
impl Freeze for InputSchemaUpdateBuilder
impl RefUnwindSafe for InputSchemaUpdateBuilder
impl Send for InputSchemaUpdateBuilder
impl Sync for InputSchemaUpdateBuilder
impl Unpin for InputSchemaUpdateBuilder
impl UnwindSafe for InputSchemaUpdateBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more