Struct aws_sdk_swf::types::builders::DecisionBuilder
source · #[non_exhaustive]pub struct DecisionBuilder { /* private fields */ }
Expand description
A builder for Decision
.
Implementations§
source§impl DecisionBuilder
impl DecisionBuilder
sourcepub fn decision_type(self, input: DecisionType) -> Self
pub fn decision_type(self, input: DecisionType) -> Self
Specifies the type of the decision.
This field is required.sourcepub fn set_decision_type(self, input: Option<DecisionType>) -> Self
pub fn set_decision_type(self, input: Option<DecisionType>) -> Self
Specifies the type of the decision.
sourcepub fn get_decision_type(&self) -> &Option<DecisionType>
pub fn get_decision_type(&self) -> &Option<DecisionType>
Specifies the type of the decision.
sourcepub fn schedule_activity_task_decision_attributes(
self,
input: ScheduleActivityTaskDecisionAttributes
) -> Self
pub fn schedule_activity_task_decision_attributes( self, input: ScheduleActivityTaskDecisionAttributes ) -> Self
Provides the details of the ScheduleActivityTask
decision. It isn't set for other decision types.
sourcepub fn set_schedule_activity_task_decision_attributes(
self,
input: Option<ScheduleActivityTaskDecisionAttributes>
) -> Self
pub fn set_schedule_activity_task_decision_attributes( self, input: Option<ScheduleActivityTaskDecisionAttributes> ) -> Self
Provides the details of the ScheduleActivityTask
decision. It isn't set for other decision types.
sourcepub fn get_schedule_activity_task_decision_attributes(
&self
) -> &Option<ScheduleActivityTaskDecisionAttributes>
pub fn get_schedule_activity_task_decision_attributes( &self ) -> &Option<ScheduleActivityTaskDecisionAttributes>
Provides the details of the ScheduleActivityTask
decision. It isn't set for other decision types.
sourcepub fn request_cancel_activity_task_decision_attributes(
self,
input: RequestCancelActivityTaskDecisionAttributes
) -> Self
pub fn request_cancel_activity_task_decision_attributes( self, input: RequestCancelActivityTaskDecisionAttributes ) -> Self
Provides the details of the RequestCancelActivityTask
decision. It isn't set for other decision types.
sourcepub fn set_request_cancel_activity_task_decision_attributes(
self,
input: Option<RequestCancelActivityTaskDecisionAttributes>
) -> Self
pub fn set_request_cancel_activity_task_decision_attributes( self, input: Option<RequestCancelActivityTaskDecisionAttributes> ) -> Self
Provides the details of the RequestCancelActivityTask
decision. It isn't set for other decision types.
sourcepub fn get_request_cancel_activity_task_decision_attributes(
&self
) -> &Option<RequestCancelActivityTaskDecisionAttributes>
pub fn get_request_cancel_activity_task_decision_attributes( &self ) -> &Option<RequestCancelActivityTaskDecisionAttributes>
Provides the details of the RequestCancelActivityTask
decision. It isn't set for other decision types.
sourcepub fn complete_workflow_execution_decision_attributes(
self,
input: CompleteWorkflowExecutionDecisionAttributes
) -> Self
pub fn complete_workflow_execution_decision_attributes( self, input: CompleteWorkflowExecutionDecisionAttributes ) -> Self
Provides the details of the CompleteWorkflowExecution
decision. It isn't set for other decision types.
sourcepub fn set_complete_workflow_execution_decision_attributes(
self,
input: Option<CompleteWorkflowExecutionDecisionAttributes>
) -> Self
pub fn set_complete_workflow_execution_decision_attributes( self, input: Option<CompleteWorkflowExecutionDecisionAttributes> ) -> Self
Provides the details of the CompleteWorkflowExecution
decision. It isn't set for other decision types.
sourcepub fn get_complete_workflow_execution_decision_attributes(
&self
) -> &Option<CompleteWorkflowExecutionDecisionAttributes>
pub fn get_complete_workflow_execution_decision_attributes( &self ) -> &Option<CompleteWorkflowExecutionDecisionAttributes>
Provides the details of the CompleteWorkflowExecution
decision. It isn't set for other decision types.
sourcepub fn fail_workflow_execution_decision_attributes(
self,
input: FailWorkflowExecutionDecisionAttributes
) -> Self
pub fn fail_workflow_execution_decision_attributes( self, input: FailWorkflowExecutionDecisionAttributes ) -> Self
Provides the details of the FailWorkflowExecution
decision. It isn't set for other decision types.
sourcepub fn set_fail_workflow_execution_decision_attributes(
self,
input: Option<FailWorkflowExecutionDecisionAttributes>
) -> Self
pub fn set_fail_workflow_execution_decision_attributes( self, input: Option<FailWorkflowExecutionDecisionAttributes> ) -> Self
Provides the details of the FailWorkflowExecution
decision. It isn't set for other decision types.
sourcepub fn get_fail_workflow_execution_decision_attributes(
&self
) -> &Option<FailWorkflowExecutionDecisionAttributes>
pub fn get_fail_workflow_execution_decision_attributes( &self ) -> &Option<FailWorkflowExecutionDecisionAttributes>
Provides the details of the FailWorkflowExecution
decision. It isn't set for other decision types.
sourcepub fn cancel_workflow_execution_decision_attributes(
self,
input: CancelWorkflowExecutionDecisionAttributes
) -> Self
pub fn cancel_workflow_execution_decision_attributes( self, input: CancelWorkflowExecutionDecisionAttributes ) -> Self
Provides the details of the CancelWorkflowExecution
decision. It isn't set for other decision types.
sourcepub fn set_cancel_workflow_execution_decision_attributes(
self,
input: Option<CancelWorkflowExecutionDecisionAttributes>
) -> Self
pub fn set_cancel_workflow_execution_decision_attributes( self, input: Option<CancelWorkflowExecutionDecisionAttributes> ) -> Self
Provides the details of the CancelWorkflowExecution
decision. It isn't set for other decision types.
sourcepub fn get_cancel_workflow_execution_decision_attributes(
&self
) -> &Option<CancelWorkflowExecutionDecisionAttributes>
pub fn get_cancel_workflow_execution_decision_attributes( &self ) -> &Option<CancelWorkflowExecutionDecisionAttributes>
Provides the details of the CancelWorkflowExecution
decision. It isn't set for other decision types.
sourcepub fn continue_as_new_workflow_execution_decision_attributes(
self,
input: ContinueAsNewWorkflowExecutionDecisionAttributes
) -> Self
pub fn continue_as_new_workflow_execution_decision_attributes( self, input: ContinueAsNewWorkflowExecutionDecisionAttributes ) -> Self
Provides the details of the ContinueAsNewWorkflowExecution
decision. It isn't set for other decision types.
sourcepub fn set_continue_as_new_workflow_execution_decision_attributes(
self,
input: Option<ContinueAsNewWorkflowExecutionDecisionAttributes>
) -> Self
pub fn set_continue_as_new_workflow_execution_decision_attributes( self, input: Option<ContinueAsNewWorkflowExecutionDecisionAttributes> ) -> Self
Provides the details of the ContinueAsNewWorkflowExecution
decision. It isn't set for other decision types.
sourcepub fn get_continue_as_new_workflow_execution_decision_attributes(
&self
) -> &Option<ContinueAsNewWorkflowExecutionDecisionAttributes>
pub fn get_continue_as_new_workflow_execution_decision_attributes( &self ) -> &Option<ContinueAsNewWorkflowExecutionDecisionAttributes>
Provides the details of the ContinueAsNewWorkflowExecution
decision. It isn't set for other decision types.
sourcepub fn record_marker_decision_attributes(
self,
input: RecordMarkerDecisionAttributes
) -> Self
pub fn record_marker_decision_attributes( self, input: RecordMarkerDecisionAttributes ) -> Self
Provides the details of the RecordMarker
decision. It isn't set for other decision types.
sourcepub fn set_record_marker_decision_attributes(
self,
input: Option<RecordMarkerDecisionAttributes>
) -> Self
pub fn set_record_marker_decision_attributes( self, input: Option<RecordMarkerDecisionAttributes> ) -> Self
Provides the details of the RecordMarker
decision. It isn't set for other decision types.
sourcepub fn get_record_marker_decision_attributes(
&self
) -> &Option<RecordMarkerDecisionAttributes>
pub fn get_record_marker_decision_attributes( &self ) -> &Option<RecordMarkerDecisionAttributes>
Provides the details of the RecordMarker
decision. It isn't set for other decision types.
sourcepub fn start_timer_decision_attributes(
self,
input: StartTimerDecisionAttributes
) -> Self
pub fn start_timer_decision_attributes( self, input: StartTimerDecisionAttributes ) -> Self
Provides the details of the StartTimer
decision. It isn't set for other decision types.
sourcepub fn set_start_timer_decision_attributes(
self,
input: Option<StartTimerDecisionAttributes>
) -> Self
pub fn set_start_timer_decision_attributes( self, input: Option<StartTimerDecisionAttributes> ) -> Self
Provides the details of the StartTimer
decision. It isn't set for other decision types.
sourcepub fn get_start_timer_decision_attributes(
&self
) -> &Option<StartTimerDecisionAttributes>
pub fn get_start_timer_decision_attributes( &self ) -> &Option<StartTimerDecisionAttributes>
Provides the details of the StartTimer
decision. It isn't set for other decision types.
sourcepub fn cancel_timer_decision_attributes(
self,
input: CancelTimerDecisionAttributes
) -> Self
pub fn cancel_timer_decision_attributes( self, input: CancelTimerDecisionAttributes ) -> Self
Provides the details of the CancelTimer
decision. It isn't set for other decision types.
sourcepub fn set_cancel_timer_decision_attributes(
self,
input: Option<CancelTimerDecisionAttributes>
) -> Self
pub fn set_cancel_timer_decision_attributes( self, input: Option<CancelTimerDecisionAttributes> ) -> Self
Provides the details of the CancelTimer
decision. It isn't set for other decision types.
sourcepub fn get_cancel_timer_decision_attributes(
&self
) -> &Option<CancelTimerDecisionAttributes>
pub fn get_cancel_timer_decision_attributes( &self ) -> &Option<CancelTimerDecisionAttributes>
Provides the details of the CancelTimer
decision. It isn't set for other decision types.
sourcepub fn signal_external_workflow_execution_decision_attributes(
self,
input: SignalExternalWorkflowExecutionDecisionAttributes
) -> Self
pub fn signal_external_workflow_execution_decision_attributes( self, input: SignalExternalWorkflowExecutionDecisionAttributes ) -> Self
Provides the details of the SignalExternalWorkflowExecution
decision. It isn't set for other decision types.
sourcepub fn set_signal_external_workflow_execution_decision_attributes(
self,
input: Option<SignalExternalWorkflowExecutionDecisionAttributes>
) -> Self
pub fn set_signal_external_workflow_execution_decision_attributes( self, input: Option<SignalExternalWorkflowExecutionDecisionAttributes> ) -> Self
Provides the details of the SignalExternalWorkflowExecution
decision. It isn't set for other decision types.
sourcepub fn get_signal_external_workflow_execution_decision_attributes(
&self
) -> &Option<SignalExternalWorkflowExecutionDecisionAttributes>
pub fn get_signal_external_workflow_execution_decision_attributes( &self ) -> &Option<SignalExternalWorkflowExecutionDecisionAttributes>
Provides the details of the SignalExternalWorkflowExecution
decision. It isn't set for other decision types.
sourcepub fn request_cancel_external_workflow_execution_decision_attributes(
self,
input: RequestCancelExternalWorkflowExecutionDecisionAttributes
) -> Self
pub fn request_cancel_external_workflow_execution_decision_attributes( self, input: RequestCancelExternalWorkflowExecutionDecisionAttributes ) -> Self
Provides the details of the RequestCancelExternalWorkflowExecution
decision. It isn't set for other decision types.
sourcepub fn set_request_cancel_external_workflow_execution_decision_attributes(
self,
input: Option<RequestCancelExternalWorkflowExecutionDecisionAttributes>
) -> Self
pub fn set_request_cancel_external_workflow_execution_decision_attributes( self, input: Option<RequestCancelExternalWorkflowExecutionDecisionAttributes> ) -> Self
Provides the details of the RequestCancelExternalWorkflowExecution
decision. It isn't set for other decision types.
sourcepub fn get_request_cancel_external_workflow_execution_decision_attributes(
&self
) -> &Option<RequestCancelExternalWorkflowExecutionDecisionAttributes>
pub fn get_request_cancel_external_workflow_execution_decision_attributes( &self ) -> &Option<RequestCancelExternalWorkflowExecutionDecisionAttributes>
Provides the details of the RequestCancelExternalWorkflowExecution
decision. It isn't set for other decision types.
sourcepub fn start_child_workflow_execution_decision_attributes(
self,
input: StartChildWorkflowExecutionDecisionAttributes
) -> Self
pub fn start_child_workflow_execution_decision_attributes( self, input: StartChildWorkflowExecutionDecisionAttributes ) -> Self
Provides the details of the StartChildWorkflowExecution
decision. It isn't set for other decision types.
sourcepub fn set_start_child_workflow_execution_decision_attributes(
self,
input: Option<StartChildWorkflowExecutionDecisionAttributes>
) -> Self
pub fn set_start_child_workflow_execution_decision_attributes( self, input: Option<StartChildWorkflowExecutionDecisionAttributes> ) -> Self
Provides the details of the StartChildWorkflowExecution
decision. It isn't set for other decision types.
sourcepub fn get_start_child_workflow_execution_decision_attributes(
&self
) -> &Option<StartChildWorkflowExecutionDecisionAttributes>
pub fn get_start_child_workflow_execution_decision_attributes( &self ) -> &Option<StartChildWorkflowExecutionDecisionAttributes>
Provides the details of the StartChildWorkflowExecution
decision. It isn't set for other decision types.
sourcepub fn schedule_lambda_function_decision_attributes(
self,
input: ScheduleLambdaFunctionDecisionAttributes
) -> Self
pub fn schedule_lambda_function_decision_attributes( self, input: ScheduleLambdaFunctionDecisionAttributes ) -> Self
Provides the details of the ScheduleLambdaFunction
decision. It isn't set for other decision types.
sourcepub fn set_schedule_lambda_function_decision_attributes(
self,
input: Option<ScheduleLambdaFunctionDecisionAttributes>
) -> Self
pub fn set_schedule_lambda_function_decision_attributes( self, input: Option<ScheduleLambdaFunctionDecisionAttributes> ) -> Self
Provides the details of the ScheduleLambdaFunction
decision. It isn't set for other decision types.
sourcepub fn get_schedule_lambda_function_decision_attributes(
&self
) -> &Option<ScheduleLambdaFunctionDecisionAttributes>
pub fn get_schedule_lambda_function_decision_attributes( &self ) -> &Option<ScheduleLambdaFunctionDecisionAttributes>
Provides the details of the ScheduleLambdaFunction
decision. It isn't set for other decision types.
Trait Implementations§
source§impl Clone for DecisionBuilder
impl Clone for DecisionBuilder
source§fn clone(&self) -> DecisionBuilder
fn clone(&self) -> DecisionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DecisionBuilder
impl Debug for DecisionBuilder
source§impl Default for DecisionBuilder
impl Default for DecisionBuilder
source§fn default() -> DecisionBuilder
fn default() -> DecisionBuilder
source§impl PartialEq for DecisionBuilder
impl PartialEq for DecisionBuilder
source§fn eq(&self, other: &DecisionBuilder) -> bool
fn eq(&self, other: &DecisionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DecisionBuilder
Auto Trait Implementations§
impl Freeze for DecisionBuilder
impl RefUnwindSafe for DecisionBuilder
impl Send for DecisionBuilder
impl Sync for DecisionBuilder
impl Unpin for DecisionBuilder
impl UnwindSafe for DecisionBuilder
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