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