Struct aws_sdk_appflow::model::s3_output_format_config::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for S3OutputFormatConfig
Implementations
sourceimpl Builder
impl Builder
sourcepub fn file_type(self, input: FileType) -> Self
pub fn file_type(self, input: FileType) -> Self
Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket.
sourcepub fn set_file_type(self, input: Option<FileType>) -> Self
pub fn set_file_type(self, input: Option<FileType>) -> Self
Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket.
sourcepub fn prefix_config(self, input: PrefixConfig) -> Self
pub fn prefix_config(self, input: PrefixConfig) -> Self
Determines the prefix that Amazon AppFlow applies to the folder name in the Amazon S3 bucket. You can name folders according to the flow frequency and date.
sourcepub fn set_prefix_config(self, input: Option<PrefixConfig>) -> Self
pub fn set_prefix_config(self, input: Option<PrefixConfig>) -> Self
Determines the prefix that Amazon AppFlow applies to the folder name in the Amazon S3 bucket. You can name folders according to the flow frequency and date.
sourcepub fn aggregation_config(self, input: AggregationConfig) -> Self
pub fn aggregation_config(self, input: AggregationConfig) -> Self
The aggregation settings that you can use to customize the output format of your flow data.
sourcepub fn set_aggregation_config(self, input: Option<AggregationConfig>) -> Self
pub fn set_aggregation_config(self, input: Option<AggregationConfig>) -> Self
The aggregation settings that you can use to customize the output format of your flow data.
sourcepub fn preserve_source_data_typing(self, input: bool) -> Self
pub fn preserve_source_data_typing(self, input: bool) -> Self
If your file output format is Parquet, use this parameter to set whether Amazon AppFlow preserves the data types in your source data when it writes the output to Amazon S3.
-
true
: Amazon AppFlow preserves the data types when it writes to Amazon S3. For example, an integer or1
in your source data is still an integer in your output. -
false
: Amazon AppFlow converts all of the source data into strings when it writes to Amazon S3. For example, an integer of1
in your source data becomes the string"1"
in the output.
sourcepub fn set_preserve_source_data_typing(self, input: Option<bool>) -> Self
pub fn set_preserve_source_data_typing(self, input: Option<bool>) -> Self
If your file output format is Parquet, use this parameter to set whether Amazon AppFlow preserves the data types in your source data when it writes the output to Amazon S3.
-
true
: Amazon AppFlow preserves the data types when it writes to Amazon S3. For example, an integer or1
in your source data is still an integer in your output. -
false
: Amazon AppFlow converts all of the source data into strings when it writes to Amazon S3. For example, an integer of1
in your source data becomes the string"1"
in the output.
sourcepub fn build(self) -> S3OutputFormatConfig
pub fn build(self) -> S3OutputFormatConfig
Consumes the builder and constructs a S3OutputFormatConfig
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more