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 get_prefix_type(&self) -> &Option<PrefixType>
pub fn get_prefix_type(&self) -> &Option<PrefixType>
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 get_prefix_format(&self) -> &Option<PrefixFormat>
pub fn get_prefix_format(&self) -> &Option<PrefixFormat>
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 get_path_prefix_hierarchy(&self) -> &Option<Vec<PathPrefix>>
pub fn get_path_prefix_hierarchy(&self) -> &Option<Vec<PathPrefix>>
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 for PrefixConfigBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for PrefixConfigBuilder
Auto Trait Implementations§
impl Freeze for PrefixConfigBuilder
impl RefUnwindSafe for PrefixConfigBuilder
impl Send for PrefixConfigBuilder
impl Sync for PrefixConfigBuilder
impl Unpin for PrefixConfigBuilder
impl UnwindSafe for PrefixConfigBuilder
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