Struct aws_sdk_appflow::types::builders::PrefixConfigBuilder
source · #[non_exhaustive]pub struct PrefixConfigBuilder { /* private fields */ }
Expand description
A builder for PrefixConfig
.
Implementations§
source§impl PrefixConfigBuilder
impl PrefixConfigBuilder
sourcepub fn prefix_type(self, input: PrefixType) -> Self
pub fn prefix_type(self, input: PrefixType) -> Self
Determines the format of the prefix, and whether it applies to the file name, file path, or both.
sourcepub fn set_prefix_type(self, input: Option<PrefixType>) -> Self
pub fn set_prefix_type(self, input: Option<PrefixType>) -> Self
Determines the format of the prefix, and whether it applies to the file name, file path, or both.
sourcepub fn prefix_format(self, input: PrefixFormat) -> Self
pub fn prefix_format(self, input: PrefixFormat) -> Self
Determines the level of granularity for the date and time that's included in the prefix.
sourcepub fn set_prefix_format(self, input: Option<PrefixFormat>) -> Self
pub fn set_prefix_format(self, input: Option<PrefixFormat>) -> Self
Determines the level of granularity for the date and time that's included in the prefix.
sourcepub fn path_prefix_hierarchy(self, input: PathPrefix) -> Self
pub fn path_prefix_hierarchy(self, input: PathPrefix) -> Self
Appends an item to path_prefix_hierarchy
.
To override the contents of this collection use set_path_prefix_hierarchy
.
Specifies whether the destination file path includes either or both of the following elements:
- EXECUTION_ID
-
The ID that Amazon AppFlow assigns to the flow run.
- SCHEMA_VERSION
-
The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases by one when you change any of the following settings in your flow configuration:
-
Source-to-destination field mappings
-
Field data types
-
Partition keys
-
sourcepub fn set_path_prefix_hierarchy(self, input: Option<Vec<PathPrefix>>) -> Self
pub fn set_path_prefix_hierarchy(self, input: Option<Vec<PathPrefix>>) -> Self
Specifies whether the destination file path includes either or both of the following elements:
- EXECUTION_ID
-
The ID that Amazon AppFlow assigns to the flow run.
- SCHEMA_VERSION
-
The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases by one when you change any of the following settings in your flow configuration:
-
Source-to-destination field mappings
-
Field data types
-
Partition keys
-
sourcepub fn build(self) -> PrefixConfig
pub fn build(self) -> PrefixConfig
Consumes the builder and constructs a PrefixConfig
.
Trait Implementations§
source§impl Clone for PrefixConfigBuilder
impl Clone for PrefixConfigBuilder
source§fn clone(&self) -> PrefixConfigBuilder
fn clone(&self) -> PrefixConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PrefixConfigBuilder
impl Debug for PrefixConfigBuilder
source§impl Default for PrefixConfigBuilder
impl Default for PrefixConfigBuilder
source§fn default() -> PrefixConfigBuilder
fn default() -> PrefixConfigBuilder
source§impl PartialEq<PrefixConfigBuilder> for PrefixConfigBuilder
impl PartialEq<PrefixConfigBuilder> for PrefixConfigBuilder
source§fn eq(&self, other: &PrefixConfigBuilder) -> bool
fn eq(&self, other: &PrefixConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.