Struct aws_sdk_transfer::types::builders::DescribedWorkflowBuilder
source · #[non_exhaustive]pub struct DescribedWorkflowBuilder { /* private fields */ }
Expand description
A builder for DescribedWorkflow
.
Implementations§
source§impl DescribedWorkflowBuilder
impl DescribedWorkflowBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
Specifies the unique Amazon Resource Name (ARN) for the workflow.
This field is required.sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
Specifies the unique Amazon Resource Name (ARN) for the workflow.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
Specifies the unique Amazon Resource Name (ARN) for the workflow.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Specifies the text description for the workflow.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Specifies the text description for the workflow.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Specifies the text description for the workflow.
sourcepub fn steps(self, input: WorkflowStep) -> Self
pub fn steps(self, input: WorkflowStep) -> Self
Appends an item to steps
.
To override the contents of this collection use set_steps
.
Specifies the details for the steps that are in the specified workflow.
sourcepub fn set_steps(self, input: Option<Vec<WorkflowStep>>) -> Self
pub fn set_steps(self, input: Option<Vec<WorkflowStep>>) -> Self
Specifies the details for the steps that are in the specified workflow.
sourcepub fn get_steps(&self) -> &Option<Vec<WorkflowStep>>
pub fn get_steps(&self) -> &Option<Vec<WorkflowStep>>
Specifies the details for the steps that are in the specified workflow.
sourcepub fn on_exception_steps(self, input: WorkflowStep) -> Self
pub fn on_exception_steps(self, input: WorkflowStep) -> Self
Appends an item to on_exception_steps
.
To override the contents of this collection use set_on_exception_steps
.
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
sourcepub fn set_on_exception_steps(self, input: Option<Vec<WorkflowStep>>) -> Self
pub fn set_on_exception_steps(self, input: Option<Vec<WorkflowStep>>) -> Self
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
sourcepub fn get_on_exception_steps(&self) -> &Option<Vec<WorkflowStep>>
pub fn get_on_exception_steps(&self) -> &Option<Vec<WorkflowStep>>
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
sourcepub fn workflow_id(self, input: impl Into<String>) -> Self
pub fn workflow_id(self, input: impl Into<String>) -> Self
A unique identifier for the workflow.
sourcepub fn set_workflow_id(self, input: Option<String>) -> Self
pub fn set_workflow_id(self, input: Option<String>) -> Self
A unique identifier for the workflow.
sourcepub fn get_workflow_id(&self) -> &Option<String>
pub fn get_workflow_id(&self) -> &Option<String>
A unique identifier for the workflow.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.
Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.
Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.
sourcepub fn build(self) -> Result<DescribedWorkflow, BuildError>
pub fn build(self) -> Result<DescribedWorkflow, BuildError>
Consumes the builder and constructs a DescribedWorkflow
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DescribedWorkflowBuilder
impl Clone for DescribedWorkflowBuilder
source§fn clone(&self) -> DescribedWorkflowBuilder
fn clone(&self) -> DescribedWorkflowBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribedWorkflowBuilder
impl Debug for DescribedWorkflowBuilder
source§impl Default for DescribedWorkflowBuilder
impl Default for DescribedWorkflowBuilder
source§fn default() -> DescribedWorkflowBuilder
fn default() -> DescribedWorkflowBuilder
source§impl PartialEq for DescribedWorkflowBuilder
impl PartialEq for DescribedWorkflowBuilder
source§fn eq(&self, other: &DescribedWorkflowBuilder) -> bool
fn eq(&self, other: &DescribedWorkflowBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribedWorkflowBuilder
Auto Trait Implementations§
impl Freeze for DescribedWorkflowBuilder
impl RefUnwindSafe for DescribedWorkflowBuilder
impl Send for DescribedWorkflowBuilder
impl Sync for DescribedWorkflowBuilder
impl Unpin for DescribedWorkflowBuilder
impl UnwindSafe for DescribedWorkflowBuilder
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