Struct aws_sdk_iot::types::builders::StepFunctionsActionBuilder
source · #[non_exhaustive]pub struct StepFunctionsActionBuilder { /* private fields */ }
Expand description
A builder for StepFunctionsAction
.
Implementations§
source§impl StepFunctionsActionBuilder
impl StepFunctionsActionBuilder
sourcepub fn execution_name_prefix(self, input: impl Into<String>) -> Self
pub fn execution_name_prefix(self, input: impl Into<String>) -> Self
(Optional) A name will be given to the state machine execution consisting of this prefix followed by a UUID. Step Functions automatically creates a unique name for each state machine execution if one is not provided.
sourcepub fn set_execution_name_prefix(self, input: Option<String>) -> Self
pub fn set_execution_name_prefix(self, input: Option<String>) -> Self
(Optional) A name will be given to the state machine execution consisting of this prefix followed by a UUID. Step Functions automatically creates a unique name for each state machine execution if one is not provided.
sourcepub fn get_execution_name_prefix(&self) -> &Option<String>
pub fn get_execution_name_prefix(&self) -> &Option<String>
(Optional) A name will be given to the state machine execution consisting of this prefix followed by a UUID. Step Functions automatically creates a unique name for each state machine execution if one is not provided.
sourcepub fn state_machine_name(self, input: impl Into<String>) -> Self
pub fn state_machine_name(self, input: impl Into<String>) -> Self
The name of the Step Functions state machine whose execution will be started.
This field is required.sourcepub fn set_state_machine_name(self, input: Option<String>) -> Self
pub fn set_state_machine_name(self, input: Option<String>) -> Self
The name of the Step Functions state machine whose execution will be started.
sourcepub fn get_state_machine_name(&self) -> &Option<String>
pub fn get_state_machine_name(&self) -> &Option<String>
The name of the Step Functions state machine whose execution will be started.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of the role that grants IoT permission to start execution of a state machine ("Action":"states:StartExecution").
This field is required.sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of the role that grants IoT permission to start execution of a state machine ("Action":"states:StartExecution").
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The ARN of the role that grants IoT permission to start execution of a state machine ("Action":"states:StartExecution").
sourcepub fn build(self) -> Result<StepFunctionsAction, BuildError>
pub fn build(self) -> Result<StepFunctionsAction, BuildError>
Consumes the builder and constructs a StepFunctionsAction
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for StepFunctionsActionBuilder
impl Clone for StepFunctionsActionBuilder
source§fn clone(&self) -> StepFunctionsActionBuilder
fn clone(&self) -> StepFunctionsActionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StepFunctionsActionBuilder
impl Debug for StepFunctionsActionBuilder
source§impl Default for StepFunctionsActionBuilder
impl Default for StepFunctionsActionBuilder
source§fn default() -> StepFunctionsActionBuilder
fn default() -> StepFunctionsActionBuilder
source§impl PartialEq for StepFunctionsActionBuilder
impl PartialEq for StepFunctionsActionBuilder
source§fn eq(&self, other: &StepFunctionsActionBuilder) -> bool
fn eq(&self, other: &StepFunctionsActionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StepFunctionsActionBuilder
Auto Trait Implementations§
impl Freeze for StepFunctionsActionBuilder
impl RefUnwindSafe for StepFunctionsActionBuilder
impl Send for StepFunctionsActionBuilder
impl Sync for StepFunctionsActionBuilder
impl Unpin for StepFunctionsActionBuilder
impl UnwindSafe for StepFunctionsActionBuilder
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