Struct aws_sdk_swf::input::signal_workflow_execution_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SignalWorkflowExecutionInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn domain(self, input: impl Into<String>) -> Self
pub fn domain(self, input: impl Into<String>) -> Self
The name of the domain containing the workflow execution to signal.
sourcepub fn set_domain(self, input: Option<String>) -> Self
pub fn set_domain(self, input: Option<String>) -> Self
The name of the domain containing the workflow execution to signal.
sourcepub fn workflow_id(self, input: impl Into<String>) -> Self
pub fn workflow_id(self, input: impl Into<String>) -> Self
The workflowId of the workflow execution to signal.
sourcepub fn set_workflow_id(self, input: Option<String>) -> Self
pub fn set_workflow_id(self, input: Option<String>) -> Self
The workflowId of the workflow execution to signal.
sourcepub fn run_id(self, input: impl Into<String>) -> Self
pub fn run_id(self, input: impl Into<String>) -> Self
The runId of the workflow execution to signal.
sourcepub fn set_run_id(self, input: Option<String>) -> Self
pub fn set_run_id(self, input: Option<String>) -> Self
The runId of the workflow execution to signal.
sourcepub fn signal_name(self, input: impl Into<String>) -> Self
pub fn signal_name(self, input: impl Into<String>) -> Self
The name of the signal. This name must be meaningful to the target workflow.
sourcepub fn set_signal_name(self, input: Option<String>) -> Self
pub fn set_signal_name(self, input: Option<String>) -> Self
The name of the signal. This name must be meaningful to the target workflow.
sourcepub fn input(self, input: impl Into<String>) -> Self
pub fn input(self, input: impl Into<String>) -> Self
Data to attach to the WorkflowExecutionSignaled
event in the target workflow execution's history.
sourcepub fn set_input(self, input: Option<String>) -> Self
pub fn set_input(self, input: Option<String>) -> Self
Data to attach to the WorkflowExecutionSignaled
event in the target workflow execution's history.
sourcepub fn build(self) -> Result<SignalWorkflowExecutionInput, BuildError>
pub fn build(self) -> Result<SignalWorkflowExecutionInput, BuildError>
Consumes the builder and constructs a SignalWorkflowExecutionInput
.