#[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 ==.