Struct aws_sdk_imagebuilder::operation::send_workflow_step_action::builders::SendWorkflowStepActionInputBuilder
source · #[non_exhaustive]pub struct SendWorkflowStepActionInputBuilder { /* private fields */ }
Expand description
A builder for SendWorkflowStepActionInput
.
Implementations§
source§impl SendWorkflowStepActionInputBuilder
impl SendWorkflowStepActionInputBuilder
sourcepub fn step_execution_id(self, input: impl Into<String>) -> Self
pub fn step_execution_id(self, input: impl Into<String>) -> Self
Uniquely identifies the workflow step that sent the step action.
This field is required.sourcepub fn set_step_execution_id(self, input: Option<String>) -> Self
pub fn set_step_execution_id(self, input: Option<String>) -> Self
Uniquely identifies the workflow step that sent the step action.
sourcepub fn get_step_execution_id(&self) -> &Option<String>
pub fn get_step_execution_id(&self) -> &Option<String>
Uniquely identifies the workflow step that sent the step action.
sourcepub fn image_build_version_arn(self, input: impl Into<String>) -> Self
pub fn image_build_version_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the image build version to send action for.
This field is required.sourcepub fn set_image_build_version_arn(self, input: Option<String>) -> Self
pub fn set_image_build_version_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the image build version to send action for.
sourcepub fn get_image_build_version_arn(&self) -> &Option<String>
pub fn get_image_build_version_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the image build version to send action for.
sourcepub fn action(self, input: WorkflowStepActionType) -> Self
pub fn action(self, input: WorkflowStepActionType) -> Self
The action for the image creation process to take while a workflow WaitForAction
step waits for an asynchronous action to complete.
sourcepub fn set_action(self, input: Option<WorkflowStepActionType>) -> Self
pub fn set_action(self, input: Option<WorkflowStepActionType>) -> Self
The action for the image creation process to take while a workflow WaitForAction
step waits for an asynchronous action to complete.
sourcepub fn get_action(&self) -> &Option<WorkflowStepActionType>
pub fn get_action(&self) -> &Option<WorkflowStepActionType>
The action for the image creation process to take while a workflow WaitForAction
step waits for an asynchronous action to complete.
sourcepub fn set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
The reason why this action is sent.
sourcepub fn get_reason(&self) -> &Option<String>
pub fn get_reason(&self) -> &Option<String>
The reason why this action is sent.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
This field is required.sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
sourcepub fn build(self) -> Result<SendWorkflowStepActionInput, BuildError>
pub fn build(self) -> Result<SendWorkflowStepActionInput, BuildError>
Consumes the builder and constructs a SendWorkflowStepActionInput
.
source§impl SendWorkflowStepActionInputBuilder
impl SendWorkflowStepActionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SendWorkflowStepActionOutput, SdkError<SendWorkflowStepActionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SendWorkflowStepActionOutput, SdkError<SendWorkflowStepActionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SendWorkflowStepActionInputBuilder
impl Clone for SendWorkflowStepActionInputBuilder
source§fn clone(&self) -> SendWorkflowStepActionInputBuilder
fn clone(&self) -> SendWorkflowStepActionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SendWorkflowStepActionInputBuilder
impl Default for SendWorkflowStepActionInputBuilder
source§fn default() -> SendWorkflowStepActionInputBuilder
fn default() -> SendWorkflowStepActionInputBuilder
source§impl PartialEq for SendWorkflowStepActionInputBuilder
impl PartialEq for SendWorkflowStepActionInputBuilder
source§fn eq(&self, other: &SendWorkflowStepActionInputBuilder) -> bool
fn eq(&self, other: &SendWorkflowStepActionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SendWorkflowStepActionInputBuilder
Auto Trait Implementations§
impl Freeze for SendWorkflowStepActionInputBuilder
impl RefUnwindSafe for SendWorkflowStepActionInputBuilder
impl Send for SendWorkflowStepActionInputBuilder
impl Sync for SendWorkflowStepActionInputBuilder
impl Unpin for SendWorkflowStepActionInputBuilder
impl UnwindSafe for SendWorkflowStepActionInputBuilder
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