Struct aws_sdk_transfer::operation::send_workflow_step_state::builders::SendWorkflowStepStateInputBuilder
source · #[non_exhaustive]pub struct SendWorkflowStepStateInputBuilder { /* private fields */ }Expand description
A builder for SendWorkflowStepStateInput.
Implementations§
source§impl SendWorkflowStepStateInputBuilder
impl SendWorkflowStepStateInputBuilder
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.
This field is required.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.
sourcepub fn execution_id(self, input: impl Into<String>) -> Self
pub fn execution_id(self, input: impl Into<String>) -> Self
A unique identifier for the execution of a workflow.
This field is required.sourcepub fn set_execution_id(self, input: Option<String>) -> Self
pub fn set_execution_id(self, input: Option<String>) -> Self
A unique identifier for the execution of a workflow.
sourcepub fn get_execution_id(&self) -> &Option<String>
pub fn get_execution_id(&self) -> &Option<String>
A unique identifier for the execution of a workflow.
sourcepub fn token(self, input: impl Into<String>) -> Self
pub fn token(self, input: impl Into<String>) -> Self
Used to distinguish between multiple callbacks for multiple Lambda steps within the same execution.
This field is required.sourcepub fn set_token(self, input: Option<String>) -> Self
pub fn set_token(self, input: Option<String>) -> Self
Used to distinguish between multiple callbacks for multiple Lambda steps within the same execution.
sourcepub fn get_token(&self) -> &Option<String>
pub fn get_token(&self) -> &Option<String>
Used to distinguish between multiple callbacks for multiple Lambda steps within the same execution.
sourcepub fn status(self, input: CustomStepStatus) -> Self
pub fn status(self, input: CustomStepStatus) -> Self
Indicates whether the specified step succeeded or failed.
This field is required.sourcepub fn set_status(self, input: Option<CustomStepStatus>) -> Self
pub fn set_status(self, input: Option<CustomStepStatus>) -> Self
Indicates whether the specified step succeeded or failed.
sourcepub fn get_status(&self) -> &Option<CustomStepStatus>
pub fn get_status(&self) -> &Option<CustomStepStatus>
Indicates whether the specified step succeeded or failed.
sourcepub fn build(self) -> Result<SendWorkflowStepStateInput, BuildError>
pub fn build(self) -> Result<SendWorkflowStepStateInput, BuildError>
Consumes the builder and constructs a SendWorkflowStepStateInput.
source§impl SendWorkflowStepStateInputBuilder
impl SendWorkflowStepStateInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SendWorkflowStepStateOutput, SdkError<SendWorkflowStepStateError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SendWorkflowStepStateOutput, SdkError<SendWorkflowStepStateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SendWorkflowStepStateInputBuilder
impl Clone for SendWorkflowStepStateInputBuilder
source§fn clone(&self) -> SendWorkflowStepStateInputBuilder
fn clone(&self) -> SendWorkflowStepStateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for SendWorkflowStepStateInputBuilder
impl Default for SendWorkflowStepStateInputBuilder
source§fn default() -> SendWorkflowStepStateInputBuilder
fn default() -> SendWorkflowStepStateInputBuilder
source§impl PartialEq for SendWorkflowStepStateInputBuilder
impl PartialEq for SendWorkflowStepStateInputBuilder
source§fn eq(&self, other: &SendWorkflowStepStateInputBuilder) -> bool
fn eq(&self, other: &SendWorkflowStepStateInputBuilder) -> bool
self and other values to be equal, and is used
by ==.