Struct aws_sdk_swf::operation::signal_workflow_execution::builders::SignalWorkflowExecutionInputBuilder
source · #[non_exhaustive]pub struct SignalWorkflowExecutionInputBuilder { /* private fields */ }
Expand description
A builder for SignalWorkflowExecutionInput
.
Implementations§
source§impl SignalWorkflowExecutionInputBuilder
impl SignalWorkflowExecutionInputBuilder
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.
This field is required.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 get_domain(&self) -> &Option<String>
pub fn get_domain(&self) -> &Option<String>
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.
This field is required.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 get_workflow_id(&self) -> &Option<String>
pub fn get_workflow_id(&self) -> &Option<String>
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 get_run_id(&self) -> &Option<String>
pub fn get_run_id(&self) -> &Option<String>
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.
This field is required.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 get_signal_name(&self) -> &Option<String>
pub fn get_signal_name(&self) -> &Option<String>
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 get_input(&self) -> &Option<String>
pub fn get_input(&self) -> &Option<String>
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
.
source§impl SignalWorkflowExecutionInputBuilder
impl SignalWorkflowExecutionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SignalWorkflowExecutionOutput, SdkError<SignalWorkflowExecutionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SignalWorkflowExecutionOutput, SdkError<SignalWorkflowExecutionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SignalWorkflowExecutionInputBuilder
impl Clone for SignalWorkflowExecutionInputBuilder
source§fn clone(&self) -> SignalWorkflowExecutionInputBuilder
fn clone(&self) -> SignalWorkflowExecutionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SignalWorkflowExecutionInputBuilder
impl Default for SignalWorkflowExecutionInputBuilder
source§fn default() -> SignalWorkflowExecutionInputBuilder
fn default() -> SignalWorkflowExecutionInputBuilder
source§impl PartialEq for SignalWorkflowExecutionInputBuilder
impl PartialEq for SignalWorkflowExecutionInputBuilder
source§fn eq(&self, other: &SignalWorkflowExecutionInputBuilder) -> bool
fn eq(&self, other: &SignalWorkflowExecutionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.