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 ==.impl StructuralPartialEq for SendWorkflowStepStateInputBuilder
Auto Trait Implementations§
impl Freeze for SendWorkflowStepStateInputBuilder
impl RefUnwindSafe for SendWorkflowStepStateInputBuilder
impl Send for SendWorkflowStepStateInputBuilder
impl Sync for SendWorkflowStepStateInputBuilder
impl Unpin for SendWorkflowStepStateInputBuilder
impl UnwindSafe for SendWorkflowStepStateInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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