Struct aws_sdk_kinesisanalyticsv2::operation::add_application_reference_data_source::builders::AddApplicationReferenceDataSourceInputBuilder
source · #[non_exhaustive]pub struct AddApplicationReferenceDataSourceInputBuilder { /* private fields */ }Expand description
A builder for AddApplicationReferenceDataSourceInput.
Implementations§
source§impl AddApplicationReferenceDataSourceInputBuilder
impl AddApplicationReferenceDataSourceInputBuilder
sourcepub fn application_name(self, input: impl Into<String>) -> Self
pub fn application_name(self, input: impl Into<String>) -> Self
The name of an existing application.
This field is required.sourcepub fn set_application_name(self, input: Option<String>) -> Self
pub fn set_application_name(self, input: Option<String>) -> Self
The name of an existing application.
sourcepub fn get_application_name(&self) -> &Option<String>
pub fn get_application_name(&self) -> &Option<String>
The name of an existing application.
sourcepub fn current_application_version_id(self, input: i64) -> Self
pub fn current_application_version_id(self, input: i64) -> Self
The version of the application for which you are adding the reference data source. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned.
sourcepub fn set_current_application_version_id(self, input: Option<i64>) -> Self
pub fn set_current_application_version_id(self, input: Option<i64>) -> Self
The version of the application for which you are adding the reference data source. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned.
sourcepub fn get_current_application_version_id(&self) -> &Option<i64>
pub fn get_current_application_version_id(&self) -> &Option<i64>
The version of the application for which you are adding the reference data source. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned.
sourcepub fn reference_data_source(self, input: ReferenceDataSource) -> Self
pub fn reference_data_source(self, input: ReferenceDataSource) -> Self
The reference data source can be an object in your Amazon S3 bucket. Kinesis Data Analytics reads the object and copies the data into the in-application table that is created. You provide an S3 bucket, object key name, and the resulting in-application table that is created.
This field is required.sourcepub fn set_reference_data_source(
self,
input: Option<ReferenceDataSource>
) -> Self
pub fn set_reference_data_source( self, input: Option<ReferenceDataSource> ) -> Self
The reference data source can be an object in your Amazon S3 bucket. Kinesis Data Analytics reads the object and copies the data into the in-application table that is created. You provide an S3 bucket, object key name, and the resulting in-application table that is created.
sourcepub fn get_reference_data_source(&self) -> &Option<ReferenceDataSource>
pub fn get_reference_data_source(&self) -> &Option<ReferenceDataSource>
The reference data source can be an object in your Amazon S3 bucket. Kinesis Data Analytics reads the object and copies the data into the in-application table that is created. You provide an S3 bucket, object key name, and the resulting in-application table that is created.
sourcepub fn build(self) -> Result<AddApplicationReferenceDataSourceInput, BuildError>
pub fn build(self) -> Result<AddApplicationReferenceDataSourceInput, BuildError>
Consumes the builder and constructs a AddApplicationReferenceDataSourceInput.
source§impl AddApplicationReferenceDataSourceInputBuilder
impl AddApplicationReferenceDataSourceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AddApplicationReferenceDataSourceOutput, SdkError<AddApplicationReferenceDataSourceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AddApplicationReferenceDataSourceOutput, SdkError<AddApplicationReferenceDataSourceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AddApplicationReferenceDataSourceInputBuilder
impl Clone for AddApplicationReferenceDataSourceInputBuilder
source§fn clone(&self) -> AddApplicationReferenceDataSourceInputBuilder
fn clone(&self) -> AddApplicationReferenceDataSourceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AddApplicationReferenceDataSourceInputBuilder
impl Default for AddApplicationReferenceDataSourceInputBuilder
source§fn default() -> AddApplicationReferenceDataSourceInputBuilder
fn default() -> AddApplicationReferenceDataSourceInputBuilder
source§impl PartialEq for AddApplicationReferenceDataSourceInputBuilder
impl PartialEq for AddApplicationReferenceDataSourceInputBuilder
source§fn eq(&self, other: &AddApplicationReferenceDataSourceInputBuilder) -> bool
fn eq(&self, other: &AddApplicationReferenceDataSourceInputBuilder) -> bool
self and other values to be equal, and is used
by ==.