#[non_exhaustive]pub struct FlowDefinitionBuilder { /* private fields */ }
Expand description
A builder for FlowDefinition
.
Implementations§
source§impl FlowDefinitionBuilder
impl FlowDefinitionBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the flow you want to create.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the flow you want to create.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the flow you want to create.
sourcepub fn flow_name(self, input: impl Into<String>) -> Self
pub fn flow_name(self, input: impl Into<String>) -> Self
The specified name of the flow. Use underscores (_) or hyphens (-) only. Spaces are not allowed.
This field is required.sourcepub fn set_flow_name(self, input: Option<String>) -> Self
pub fn set_flow_name(self, input: Option<String>) -> Self
The specified name of the flow. Use underscores (_) or hyphens (-) only. Spaces are not allowed.
sourcepub fn get_flow_name(&self) -> &Option<String>
pub fn get_flow_name(&self) -> &Option<String>
The specified name of the flow. Use underscores (_) or hyphens (-) only. Spaces are not allowed.
sourcepub fn kms_arn(self, input: impl Into<String>) -> Self
pub fn kms_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name of the AWS Key Management Service (KMS) key you provide for encryption.
This field is required.sourcepub fn set_kms_arn(self, input: Option<String>) -> Self
pub fn set_kms_arn(self, input: Option<String>) -> Self
The Amazon Resource Name of the AWS Key Management Service (KMS) key you provide for encryption.
sourcepub fn get_kms_arn(&self) -> &Option<String>
pub fn get_kms_arn(&self) -> &Option<String>
The Amazon Resource Name of the AWS Key Management Service (KMS) key you provide for encryption.
sourcepub fn source_flow_config(self, input: SourceFlowConfig) -> Self
pub fn source_flow_config(self, input: SourceFlowConfig) -> Self
The configuration that controls how Customer Profiles retrieves data from the source.
This field is required.sourcepub fn set_source_flow_config(self, input: Option<SourceFlowConfig>) -> Self
pub fn set_source_flow_config(self, input: Option<SourceFlowConfig>) -> Self
The configuration that controls how Customer Profiles retrieves data from the source.
sourcepub fn get_source_flow_config(&self) -> &Option<SourceFlowConfig>
pub fn get_source_flow_config(&self) -> &Option<SourceFlowConfig>
The configuration that controls how Customer Profiles retrieves data from the source.
sourcepub fn tasks(self, input: Task) -> Self
pub fn tasks(self, input: Task) -> Self
Appends an item to tasks
.
To override the contents of this collection use set_tasks
.
A list of tasks that Customer Profiles performs while transferring the data in the flow run.
sourcepub fn set_tasks(self, input: Option<Vec<Task>>) -> Self
pub fn set_tasks(self, input: Option<Vec<Task>>) -> Self
A list of tasks that Customer Profiles performs while transferring the data in the flow run.
sourcepub fn get_tasks(&self) -> &Option<Vec<Task>>
pub fn get_tasks(&self) -> &Option<Vec<Task>>
A list of tasks that Customer Profiles performs while transferring the data in the flow run.
sourcepub fn trigger_config(self, input: TriggerConfig) -> Self
pub fn trigger_config(self, input: TriggerConfig) -> Self
The trigger settings that determine how and when the flow runs.
This field is required.sourcepub fn set_trigger_config(self, input: Option<TriggerConfig>) -> Self
pub fn set_trigger_config(self, input: Option<TriggerConfig>) -> Self
The trigger settings that determine how and when the flow runs.
sourcepub fn get_trigger_config(&self) -> &Option<TriggerConfig>
pub fn get_trigger_config(&self) -> &Option<TriggerConfig>
The trigger settings that determine how and when the flow runs.
sourcepub fn build(self) -> Result<FlowDefinition, BuildError>
pub fn build(self) -> Result<FlowDefinition, BuildError>
Consumes the builder and constructs a FlowDefinition
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for FlowDefinitionBuilder
impl Clone for FlowDefinitionBuilder
source§fn clone(&self) -> FlowDefinitionBuilder
fn clone(&self) -> FlowDefinitionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FlowDefinitionBuilder
impl Debug for FlowDefinitionBuilder
source§impl Default for FlowDefinitionBuilder
impl Default for FlowDefinitionBuilder
source§fn default() -> FlowDefinitionBuilder
fn default() -> FlowDefinitionBuilder
source§impl PartialEq for FlowDefinitionBuilder
impl PartialEq for FlowDefinitionBuilder
source§fn eq(&self, other: &FlowDefinitionBuilder) -> bool
fn eq(&self, other: &FlowDefinitionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FlowDefinitionBuilder
Auto Trait Implementations§
impl Freeze for FlowDefinitionBuilder
impl RefUnwindSafe for FlowDefinitionBuilder
impl Send for FlowDefinitionBuilder
impl Sync for FlowDefinitionBuilder
impl Unpin for FlowDefinitionBuilder
impl UnwindSafe for FlowDefinitionBuilder
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> 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