#[non_exhaustive]pub struct RecordFormatBuilder { /* private fields */ }
Expand description
A builder for RecordFormat
.
Implementations§
source§impl RecordFormatBuilder
impl RecordFormatBuilder
sourcepub fn record_format_type(self, input: RecordFormatType) -> Self
pub fn record_format_type(self, input: RecordFormatType) -> Self
The type of record format.
This field is required.sourcepub fn set_record_format_type(self, input: Option<RecordFormatType>) -> Self
pub fn set_record_format_type(self, input: Option<RecordFormatType>) -> Self
The type of record format.
sourcepub fn get_record_format_type(&self) -> &Option<RecordFormatType>
pub fn get_record_format_type(&self) -> &Option<RecordFormatType>
The type of record format.
sourcepub fn mapping_parameters(self, input: MappingParameters) -> Self
pub fn mapping_parameters(self, input: MappingParameters) -> Self
When configuring application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.
sourcepub fn set_mapping_parameters(self, input: Option<MappingParameters>) -> Self
pub fn set_mapping_parameters(self, input: Option<MappingParameters>) -> Self
When configuring application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.
sourcepub fn get_mapping_parameters(&self) -> &Option<MappingParameters>
pub fn get_mapping_parameters(&self) -> &Option<MappingParameters>
When configuring application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.
sourcepub fn build(self) -> Result<RecordFormat, BuildError>
pub fn build(self) -> Result<RecordFormat, BuildError>
Consumes the builder and constructs a RecordFormat
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for RecordFormatBuilder
impl Clone for RecordFormatBuilder
source§fn clone(&self) -> RecordFormatBuilder
fn clone(&self) -> RecordFormatBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RecordFormatBuilder
impl Debug for RecordFormatBuilder
source§impl Default for RecordFormatBuilder
impl Default for RecordFormatBuilder
source§fn default() -> RecordFormatBuilder
fn default() -> RecordFormatBuilder
source§impl PartialEq for RecordFormatBuilder
impl PartialEq for RecordFormatBuilder
source§fn eq(&self, other: &RecordFormatBuilder) -> bool
fn eq(&self, other: &RecordFormatBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RecordFormatBuilder
Auto Trait Implementations§
impl Freeze for RecordFormatBuilder
impl RefUnwindSafe for RecordFormatBuilder
impl Send for RecordFormatBuilder
impl Sync for RecordFormatBuilder
impl Unpin for RecordFormatBuilder
impl UnwindSafe for RecordFormatBuilder
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