#[non_exhaustive]pub struct ReferenceDataSourceBuilder { /* private fields */ }
Expand description
A builder for ReferenceDataSource
.
Implementations§
source§impl ReferenceDataSourceBuilder
impl ReferenceDataSourceBuilder
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The name of the in-application table to create.
This field is required.sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
The name of the in-application table to create.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
The name of the in-application table to create.
sourcepub fn s3_reference_data_source(self, input: S3ReferenceDataSource) -> Self
pub fn s3_reference_data_source(self, input: S3ReferenceDataSource) -> Self
Identifies the S3 bucket and object that contains the reference data. A SQL-based Kinesis Data Analytics application loads reference data only once. If the data changes, you call the UpdateApplication
operation to trigger reloading of data into your application.
sourcepub fn set_s3_reference_data_source(
self,
input: Option<S3ReferenceDataSource>,
) -> Self
pub fn set_s3_reference_data_source( self, input: Option<S3ReferenceDataSource>, ) -> Self
Identifies the S3 bucket and object that contains the reference data. A SQL-based Kinesis Data Analytics application loads reference data only once. If the data changes, you call the UpdateApplication
operation to trigger reloading of data into your application.
sourcepub fn get_s3_reference_data_source(&self) -> &Option<S3ReferenceDataSource>
pub fn get_s3_reference_data_source(&self) -> &Option<S3ReferenceDataSource>
Identifies the S3 bucket and object that contains the reference data. A SQL-based Kinesis Data Analytics application loads reference data only once. If the data changes, you call the UpdateApplication
operation to trigger reloading of data into your application.
sourcepub fn reference_schema(self, input: SourceSchema) -> Self
pub fn reference_schema(self, input: SourceSchema) -> Self
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.
This field is required.sourcepub fn set_reference_schema(self, input: Option<SourceSchema>) -> Self
pub fn set_reference_schema(self, input: Option<SourceSchema>) -> Self
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.
sourcepub fn get_reference_schema(&self) -> &Option<SourceSchema>
pub fn get_reference_schema(&self) -> &Option<SourceSchema>
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.
sourcepub fn build(self) -> Result<ReferenceDataSource, BuildError>
pub fn build(self) -> Result<ReferenceDataSource, BuildError>
Consumes the builder and constructs a ReferenceDataSource
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ReferenceDataSourceBuilder
impl Clone for ReferenceDataSourceBuilder
source§fn clone(&self) -> ReferenceDataSourceBuilder
fn clone(&self) -> ReferenceDataSourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReferenceDataSourceBuilder
impl Debug for ReferenceDataSourceBuilder
source§impl Default for ReferenceDataSourceBuilder
impl Default for ReferenceDataSourceBuilder
source§fn default() -> ReferenceDataSourceBuilder
fn default() -> ReferenceDataSourceBuilder
source§impl PartialEq for ReferenceDataSourceBuilder
impl PartialEq for ReferenceDataSourceBuilder
source§fn eq(&self, other: &ReferenceDataSourceBuilder) -> bool
fn eq(&self, other: &ReferenceDataSourceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReferenceDataSourceBuilder
Auto Trait Implementations§
impl Freeze for ReferenceDataSourceBuilder
impl RefUnwindSafe for ReferenceDataSourceBuilder
impl Send for ReferenceDataSourceBuilder
impl Sync for ReferenceDataSourceBuilder
impl Unpin for ReferenceDataSourceBuilder
impl UnwindSafe for ReferenceDataSourceBuilder
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