#[non_exhaustive]pub struct ExecutionStepResultBuilder { /* private fields */ }
Expand description
A builder for ExecutionStepResult
.
Implementations§
source§impl ExecutionStepResultBuilder
impl ExecutionStepResultBuilder
sourcepub fn step_type(self, input: WorkflowStepType) -> Self
pub fn step_type(self, input: WorkflowStepType) -> Self
One of the available step types.
-
COPY
- Copy the file to another location. -
CUSTOM
- Perform a custom step with an Lambda function target. -
DECRYPT
- Decrypt a file that was encrypted before it was uploaded. -
DELETE
- Delete the file. -
TAG
- Add a tag to the file.
sourcepub fn set_step_type(self, input: Option<WorkflowStepType>) -> Self
pub fn set_step_type(self, input: Option<WorkflowStepType>) -> Self
One of the available step types.
-
COPY
- Copy the file to another location. -
CUSTOM
- Perform a custom step with an Lambda function target. -
DECRYPT
- Decrypt a file that was encrypted before it was uploaded. -
DELETE
- Delete the file. -
TAG
- Add a tag to the file.
sourcepub fn get_step_type(&self) -> &Option<WorkflowStepType>
pub fn get_step_type(&self) -> &Option<WorkflowStepType>
One of the available step types.
-
COPY
- Copy the file to another location. -
CUSTOM
- Perform a custom step with an Lambda function target. -
DECRYPT
- Decrypt a file that was encrypted before it was uploaded. -
DELETE
- Delete the file. -
TAG
- Add a tag to the file.
sourcepub fn outputs(self, input: impl Into<String>) -> Self
pub fn outputs(self, input: impl Into<String>) -> Self
The values for the key/value pair applied as a tag to the file. Only applicable if the step type is TAG
.
sourcepub fn set_outputs(self, input: Option<String>) -> Self
pub fn set_outputs(self, input: Option<String>) -> Self
The values for the key/value pair applied as a tag to the file. Only applicable if the step type is TAG
.
sourcepub fn get_outputs(&self) -> &Option<String>
pub fn get_outputs(&self) -> &Option<String>
The values for the key/value pair applied as a tag to the file. Only applicable if the step type is TAG
.
sourcepub fn error(self, input: ExecutionError) -> Self
pub fn error(self, input: ExecutionError) -> Self
Specifies the details for an error, if it occurred during execution of the specified workflow step.
sourcepub fn set_error(self, input: Option<ExecutionError>) -> Self
pub fn set_error(self, input: Option<ExecutionError>) -> Self
Specifies the details for an error, if it occurred during execution of the specified workflow step.
sourcepub fn get_error(&self) -> &Option<ExecutionError>
pub fn get_error(&self) -> &Option<ExecutionError>
Specifies the details for an error, if it occurred during execution of the specified workflow step.
sourcepub fn build(self) -> ExecutionStepResult
pub fn build(self) -> ExecutionStepResult
Consumes the builder and constructs a ExecutionStepResult
.
Trait Implementations§
source§impl Clone for ExecutionStepResultBuilder
impl Clone for ExecutionStepResultBuilder
source§fn clone(&self) -> ExecutionStepResultBuilder
fn clone(&self) -> ExecutionStepResultBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExecutionStepResultBuilder
impl Debug for ExecutionStepResultBuilder
source§impl Default for ExecutionStepResultBuilder
impl Default for ExecutionStepResultBuilder
source§fn default() -> ExecutionStepResultBuilder
fn default() -> ExecutionStepResultBuilder
source§impl PartialEq for ExecutionStepResultBuilder
impl PartialEq for ExecutionStepResultBuilder
source§fn eq(&self, other: &ExecutionStepResultBuilder) -> bool
fn eq(&self, other: &ExecutionStepResultBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExecutionStepResultBuilder
Auto Trait Implementations§
impl Freeze for ExecutionStepResultBuilder
impl RefUnwindSafe for ExecutionStepResultBuilder
impl Send for ExecutionStepResultBuilder
impl Sync for ExecutionStepResultBuilder
impl Unpin for ExecutionStepResultBuilder
impl UnwindSafe for ExecutionStepResultBuilder
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