#[non_exhaustive]pub struct S3ReferenceDataSourceDescriptionBuilder { /* private fields */ }Expand description
A builder for S3ReferenceDataSourceDescription.
Implementations§
source§impl S3ReferenceDataSourceDescriptionBuilder
impl S3ReferenceDataSourceDescriptionBuilder
sourcepub fn bucket_arn(self, input: impl Into<String>) -> Self
pub fn bucket_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the S3 bucket.
This field is required.sourcepub fn set_bucket_arn(self, input: Option<String>) -> Self
pub fn set_bucket_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the S3 bucket.
sourcepub fn get_bucket_arn(&self) -> &Option<String>
pub fn get_bucket_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the S3 bucket.
sourcepub fn file_key(self, input: impl Into<String>) -> Self
pub fn file_key(self, input: impl Into<String>) -> Self
Amazon S3 object key name.
This field is required.sourcepub fn set_file_key(self, input: Option<String>) -> Self
pub fn set_file_key(self, input: Option<String>) -> Self
Amazon S3 object key name.
sourcepub fn get_file_key(&self) -> &Option<String>
pub fn get_file_key(&self) -> &Option<String>
Amazon S3 object key name.
sourcepub fn reference_role_arn(self, input: impl Into<String>) -> Self
pub fn reference_role_arn(self, input: impl Into<String>) -> Self
The ARN of the IAM role that Kinesis Data Analytics can assume to read the Amazon S3 object on your behalf to populate the in-application reference table.
Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
sourcepub fn set_reference_role_arn(self, input: Option<String>) -> Self
pub fn set_reference_role_arn(self, input: Option<String>) -> Self
The ARN of the IAM role that Kinesis Data Analytics can assume to read the Amazon S3 object on your behalf to populate the in-application reference table.
Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
sourcepub fn get_reference_role_arn(&self) -> &Option<String>
pub fn get_reference_role_arn(&self) -> &Option<String>
The ARN of the IAM role that Kinesis Data Analytics can assume to read the Amazon S3 object on your behalf to populate the in-application reference table.
Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
sourcepub fn build(self) -> Result<S3ReferenceDataSourceDescription, BuildError>
pub fn build(self) -> Result<S3ReferenceDataSourceDescription, BuildError>
Consumes the builder and constructs a S3ReferenceDataSourceDescription.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for S3ReferenceDataSourceDescriptionBuilder
impl Clone for S3ReferenceDataSourceDescriptionBuilder
source§fn clone(&self) -> S3ReferenceDataSourceDescriptionBuilder
fn clone(&self) -> S3ReferenceDataSourceDescriptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for S3ReferenceDataSourceDescriptionBuilder
impl Default for S3ReferenceDataSourceDescriptionBuilder
source§fn default() -> S3ReferenceDataSourceDescriptionBuilder
fn default() -> S3ReferenceDataSourceDescriptionBuilder
source§impl PartialEq for S3ReferenceDataSourceDescriptionBuilder
impl PartialEq for S3ReferenceDataSourceDescriptionBuilder
source§fn eq(&self, other: &S3ReferenceDataSourceDescriptionBuilder) -> bool
fn eq(&self, other: &S3ReferenceDataSourceDescriptionBuilder) -> bool
self and other values to be equal, and is used
by ==.