#[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 ==
.impl StructuralPartialEq for S3DestinationPropertiesBuilder
Auto Trait Implementations§
impl Freeze for S3DestinationPropertiesBuilder
impl RefUnwindSafe for S3DestinationPropertiesBuilder
impl Send for S3DestinationPropertiesBuilder
impl Sync for S3DestinationPropertiesBuilder
impl Unpin for S3DestinationPropertiesBuilder
impl UnwindSafe for S3DestinationPropertiesBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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