#[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 ==.