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