Struct aws_sdk_appflow::types::builders::FlowDefinitionBuilder
source · #[non_exhaustive]pub struct FlowDefinitionBuilder { /* private fields */ }
Expand description
A builder for FlowDefinition
.
Implementations§
source§impl FlowDefinitionBuilder
impl FlowDefinitionBuilder
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§
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<FlowDefinitionBuilder> for FlowDefinitionBuilder
impl PartialEq<FlowDefinitionBuilder> 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 ==
.