#[non_exhaustive]pub struct ReferenceDataSourceDescriptionBuilder { /* private fields */ }Expand description
A builder for ReferenceDataSourceDescription.
Implementations§
source§impl ReferenceDataSourceDescriptionBuilder
impl ReferenceDataSourceDescriptionBuilder
sourcepub fn reference_id(self, input: impl Into<String>) -> Self
pub fn reference_id(self, input: impl Into<String>) -> Self
The ID of the reference data source. This is the ID that Kinesis Data Analytics assigns when you add the reference data source to your application using the CreateApplication or UpdateApplication operation.
sourcepub fn set_reference_id(self, input: Option<String>) -> Self
pub fn set_reference_id(self, input: Option<String>) -> Self
The ID of the reference data source. This is the ID that Kinesis Data Analytics assigns when you add the reference data source to your application using the CreateApplication or UpdateApplication operation.
sourcepub fn get_reference_id(&self) -> &Option<String>
pub fn get_reference_id(&self) -> &Option<String>
The ID of the reference data source. This is the ID that Kinesis Data Analytics assigns when you add the reference data source to your application using the CreateApplication or UpdateApplication operation.
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The in-application table name created by the specific reference data source configuration.
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 in-application table name created by the specific reference data source configuration.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
The in-application table name created by the specific reference data source configuration.
sourcepub fn s3_reference_data_source_description(
self,
input: S3ReferenceDataSourceDescription
) -> Self
pub fn s3_reference_data_source_description( self, input: S3ReferenceDataSourceDescription ) -> Self
Provides the Amazon S3 bucket name, the object key name that contains the reference data.
This field is required.sourcepub fn set_s3_reference_data_source_description(
self,
input: Option<S3ReferenceDataSourceDescription>
) -> Self
pub fn set_s3_reference_data_source_description( self, input: Option<S3ReferenceDataSourceDescription> ) -> Self
Provides the Amazon S3 bucket name, the object key name that contains the reference data.
sourcepub fn get_s3_reference_data_source_description(
&self
) -> &Option<S3ReferenceDataSourceDescription>
pub fn get_s3_reference_data_source_description( &self ) -> &Option<S3ReferenceDataSourceDescription>
Provides the Amazon S3 bucket name, the object key name that contains the reference data.
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.
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<ReferenceDataSourceDescription, BuildError>
pub fn build(self) -> Result<ReferenceDataSourceDescription, BuildError>
Consumes the builder and constructs a ReferenceDataSourceDescription.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ReferenceDataSourceDescriptionBuilder
impl Clone for ReferenceDataSourceDescriptionBuilder
source§fn clone(&self) -> ReferenceDataSourceDescriptionBuilder
fn clone(&self) -> ReferenceDataSourceDescriptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ReferenceDataSourceDescriptionBuilder
impl Default for ReferenceDataSourceDescriptionBuilder
source§fn default() -> ReferenceDataSourceDescriptionBuilder
fn default() -> ReferenceDataSourceDescriptionBuilder
source§impl PartialEq for ReferenceDataSourceDescriptionBuilder
impl PartialEq for ReferenceDataSourceDescriptionBuilder
source§fn eq(&self, other: &ReferenceDataSourceDescriptionBuilder) -> bool
fn eq(&self, other: &ReferenceDataSourceDescriptionBuilder) -> bool
self and other values to be equal, and is used
by ==.