#[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
ID of the reference data source. This is the ID that Amazon Kinesis Analytics assigns when you add the reference data source to your application using the AddApplicationReferenceDataSource operation.
This field is required.sourcepub fn set_reference_id(self, input: Option<String>) -> Self
pub fn set_reference_id(self, input: Option<String>) -> Self
ID of the reference data source. This is the ID that Amazon Kinesis Analytics assigns when you add the reference data source to your application using the AddApplicationReferenceDataSource operation.
sourcepub fn get_reference_id(&self) -> &Option<String>
pub fn get_reference_id(&self) -> &Option<String>
ID of the reference data source. This is the ID that Amazon Kinesis Analytics assigns when you add the reference data source to your application using the AddApplicationReferenceDataSource 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 S3 bucket name, the object key name that contains the reference data. It also provides the Amazon Resource Name (ARN) of the IAM role that Amazon Kinesis Analytics can assume to read the Amazon S3 object and populate the in-application reference table.
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 S3 bucket name, the object key name that contains the reference data. It also provides the Amazon Resource Name (ARN) of the IAM role that Amazon Kinesis Analytics can assume to read the Amazon S3 object and populate the in-application reference table.
sourcepub fn get_s3_reference_data_source_description(
&self,
) -> &Option<S3ReferenceDataSourceDescription>
pub fn get_s3_reference_data_source_description( &self, ) -> &Option<S3ReferenceDataSourceDescription>
Provides the S3 bucket name, the object key name that contains the reference data. It also provides the Amazon Resource Name (ARN) of the IAM role that Amazon Kinesis Analytics can assume to read the Amazon S3 object and populate the in-application reference table.
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 ==
.impl StructuralPartialEq for ReferenceDataSourceDescriptionBuilder
Auto Trait Implementations§
impl Freeze for ReferenceDataSourceDescriptionBuilder
impl RefUnwindSafe for ReferenceDataSourceDescriptionBuilder
impl Send for ReferenceDataSourceDescriptionBuilder
impl Sync for ReferenceDataSourceDescriptionBuilder
impl Unpin for ReferenceDataSourceDescriptionBuilder
impl UnwindSafe for ReferenceDataSourceDescriptionBuilder
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