#[non_exhaustive]pub struct S3DestinationPropertiesBuilder { /* private fields */ }
Expand description
A builder for S3DestinationProperties
.
Implementations§
source§impl S3DestinationPropertiesBuilder
impl S3DestinationPropertiesBuilder
sourcepub fn bucket_name(self, input: impl Into<String>) -> Self
pub fn bucket_name(self, input: impl Into<String>) -> Self
The Amazon S3 bucket name in which Amazon AppFlow places the transferred data.
This field is required.sourcepub fn set_bucket_name(self, input: Option<String>) -> Self
pub fn set_bucket_name(self, input: Option<String>) -> Self
The Amazon S3 bucket name in which Amazon AppFlow places the transferred data.
sourcepub fn get_bucket_name(&self) -> &Option<String>
pub fn get_bucket_name(&self) -> &Option<String>
The Amazon S3 bucket name in which Amazon AppFlow places the transferred data.
sourcepub fn bucket_prefix(self, input: impl Into<String>) -> Self
pub fn bucket_prefix(self, input: impl Into<String>) -> Self
The object key for the destination bucket in which Amazon AppFlow places the files.
sourcepub fn set_bucket_prefix(self, input: Option<String>) -> Self
pub fn set_bucket_prefix(self, input: Option<String>) -> Self
The object key for the destination bucket in which Amazon AppFlow places the files.
sourcepub fn get_bucket_prefix(&self) -> &Option<String>
pub fn get_bucket_prefix(&self) -> &Option<String>
The object key for the destination bucket in which Amazon AppFlow places the files.
sourcepub fn s3_output_format_config(self, input: S3OutputFormatConfig) -> Self
pub fn s3_output_format_config(self, input: S3OutputFormatConfig) -> Self
The configuration that determines how Amazon AppFlow should format the flow output data when Amazon S3 is used as the destination.
sourcepub fn set_s3_output_format_config(
self,
input: Option<S3OutputFormatConfig>
) -> Self
pub fn set_s3_output_format_config( self, input: Option<S3OutputFormatConfig> ) -> Self
The configuration that determines how Amazon AppFlow should format the flow output data when Amazon S3 is used as the destination.
sourcepub fn get_s3_output_format_config(&self) -> &Option<S3OutputFormatConfig>
pub fn get_s3_output_format_config(&self) -> &Option<S3OutputFormatConfig>
The configuration that determines how Amazon AppFlow should format the flow output data when Amazon S3 is used as the destination.
sourcepub fn build(self) -> Result<S3DestinationProperties, BuildError>
pub fn build(self) -> Result<S3DestinationProperties, BuildError>
Consumes the builder and constructs a S3DestinationProperties
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for S3DestinationPropertiesBuilder
impl Clone for S3DestinationPropertiesBuilder
source§fn clone(&self) -> S3DestinationPropertiesBuilder
fn clone(&self) -> S3DestinationPropertiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for S3DestinationPropertiesBuilder
impl Default for S3DestinationPropertiesBuilder
source§fn default() -> S3DestinationPropertiesBuilder
fn default() -> S3DestinationPropertiesBuilder
source§impl PartialEq for S3DestinationPropertiesBuilder
impl PartialEq for S3DestinationPropertiesBuilder
source§fn eq(&self, other: &S3DestinationPropertiesBuilder) -> bool
fn eq(&self, other: &S3DestinationPropertiesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.