Struct aws_sdk_appflow::model::flow_definition::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for FlowDefinition
Implementations
sourceimpl Builder
impl Builder
sourcepub fn flow_arn(self, input: impl Into<String>) -> Self
pub fn flow_arn(self, input: impl Into<String>) -> Self
The flow's Amazon Resource Name (ARN).
sourcepub fn set_flow_arn(self, input: Option<String>) -> Self
pub fn set_flow_arn(self, input: Option<String>) -> Self
The flow's Amazon Resource Name (ARN).
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A user-entered description of the flow.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A user-entered description of the flow.
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. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
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. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
sourcepub fn flow_status(self, input: FlowStatus) -> Self
pub fn flow_status(self, input: FlowStatus) -> Self
Indicates the current status of the flow.
sourcepub fn set_flow_status(self, input: Option<FlowStatus>) -> Self
pub fn set_flow_status(self, input: Option<FlowStatus>) -> Self
Indicates the current status of the flow.
sourcepub fn source_connector_type(self, input: ConnectorType) -> Self
pub fn source_connector_type(self, input: ConnectorType) -> Self
Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
sourcepub fn set_source_connector_type(self, input: Option<ConnectorType>) -> Self
pub fn set_source_connector_type(self, input: Option<ConnectorType>) -> Self
Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
sourcepub fn source_connector_label(self, input: impl Into<String>) -> Self
pub fn source_connector_label(self, input: impl Into<String>) -> Self
The label of the source connector in the flow.
sourcepub fn set_source_connector_label(self, input: Option<String>) -> Self
pub fn set_source_connector_label(self, input: Option<String>) -> Self
The label of the source connector in the flow.
sourcepub fn destination_connector_type(self, input: ConnectorType) -> Self
pub fn destination_connector_type(self, input: ConnectorType) -> Self
Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
sourcepub fn set_destination_connector_type(
self,
input: Option<ConnectorType>
) -> Self
pub fn set_destination_connector_type(
self,
input: Option<ConnectorType>
) -> Self
Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
sourcepub fn destination_connector_label(self, input: impl Into<String>) -> Self
pub fn destination_connector_label(self, input: impl Into<String>) -> Self
The label of the destination connector in the flow.
sourcepub fn set_destination_connector_label(self, input: Option<String>) -> Self
pub fn set_destination_connector_label(self, input: Option<String>) -> Self
The label of the destination connector in the flow.
sourcepub fn trigger_type(self, input: TriggerType) -> Self
pub fn trigger_type(self, input: TriggerType) -> Self
Specifies the type of flow trigger. This can be OnDemand
, Scheduled
, or Event
.
sourcepub fn set_trigger_type(self, input: Option<TriggerType>) -> Self
pub fn set_trigger_type(self, input: Option<TriggerType>) -> Self
Specifies the type of flow trigger. This can be OnDemand
, Scheduled
, or Event
.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
Specifies when the flow was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
Specifies when the flow was created.
sourcepub fn last_updated_at(self, input: DateTime) -> Self
pub fn last_updated_at(self, input: DateTime) -> Self
Specifies when the flow was last updated.
sourcepub fn set_last_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_at(self, input: Option<DateTime>) -> Self
Specifies when the flow was last updated.
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The ARN of the user who created the flow.
sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The ARN of the user who created the flow.
sourcepub fn last_updated_by(self, input: impl Into<String>) -> Self
pub fn last_updated_by(self, input: impl Into<String>) -> Self
Specifies the account user name that most recently updated the flow.
sourcepub fn set_last_updated_by(self, input: Option<String>) -> Self
pub fn set_last_updated_by(self, input: Option<String>) -> Self
Specifies the account user name that most recently updated the flow.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags used to organize, track, or control access for your flow.
The tags used to organize, track, or control access for your flow.
sourcepub fn last_run_execution_details(self, input: ExecutionDetails) -> Self
pub fn last_run_execution_details(self, input: ExecutionDetails) -> Self
Describes the details of the most recent flow run.
sourcepub fn set_last_run_execution_details(
self,
input: Option<ExecutionDetails>
) -> Self
pub fn set_last_run_execution_details(
self,
input: Option<ExecutionDetails>
) -> Self
Describes the details of the most recent flow run.
sourcepub fn build(self) -> FlowDefinition
pub fn build(self) -> FlowDefinition
Consumes the builder and constructs a FlowDefinition
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