Struct aws_sdk_iot::model::step_functions_action::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for StepFunctionsAction
.
Implementations§
source§impl Builder
impl Builder
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 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.
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 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").
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 build(self) -> StepFunctionsAction
pub fn build(self) -> StepFunctionsAction
Consumes the builder and constructs a StepFunctionsAction
.