#[non_exhaustive]pub struct DecisionTaskCompletedEventAttributesBuilder { /* private fields */ }
Expand description
A builder for DecisionTaskCompletedEventAttributes
.
Implementations§
source§impl DecisionTaskCompletedEventAttributesBuilder
impl DecisionTaskCompletedEventAttributesBuilder
sourcepub fn execution_context(self, input: impl Into<String>) -> Self
pub fn execution_context(self, input: impl Into<String>) -> Self
User defined context for the workflow execution.
sourcepub fn set_execution_context(self, input: Option<String>) -> Self
pub fn set_execution_context(self, input: Option<String>) -> Self
User defined context for the workflow execution.
sourcepub fn get_execution_context(&self) -> &Option<String>
pub fn get_execution_context(&self) -> &Option<String>
User defined context for the workflow execution.
sourcepub fn scheduled_event_id(self, input: i64) -> Self
pub fn scheduled_event_id(self, input: i64) -> Self
The ID of the DecisionTaskScheduled
event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn set_scheduled_event_id(self, input: Option<i64>) -> Self
pub fn set_scheduled_event_id(self, input: Option<i64>) -> Self
The ID of the DecisionTaskScheduled
event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn get_scheduled_event_id(&self) -> &Option<i64>
pub fn get_scheduled_event_id(&self) -> &Option<i64>
The ID of the DecisionTaskScheduled
event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn started_event_id(self, input: i64) -> Self
pub fn started_event_id(self, input: i64) -> Self
The ID of the DecisionTaskStarted
event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn set_started_event_id(self, input: Option<i64>) -> Self
pub fn set_started_event_id(self, input: Option<i64>) -> Self
The ID of the DecisionTaskStarted
event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn get_started_event_id(&self) -> &Option<i64>
pub fn get_started_event_id(&self) -> &Option<i64>
The ID of the DecisionTaskStarted
event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn set_task_list(self, input: Option<TaskList>) -> Self
pub fn set_task_list(self, input: Option<TaskList>) -> Self
Represents a task list.
sourcepub fn get_task_list(&self) -> &Option<TaskList>
pub fn get_task_list(&self) -> &Option<TaskList>
Represents a task list.
sourcepub fn task_list_schedule_to_start_timeout(
self,
input: impl Into<String>
) -> Self
pub fn task_list_schedule_to_start_timeout( self, input: impl Into<String> ) -> Self
The maximum amount of time the decision task can wait to be assigned to a worker.
sourcepub fn set_task_list_schedule_to_start_timeout(
self,
input: Option<String>
) -> Self
pub fn set_task_list_schedule_to_start_timeout( self, input: Option<String> ) -> Self
The maximum amount of time the decision task can wait to be assigned to a worker.
sourcepub fn get_task_list_schedule_to_start_timeout(&self) -> &Option<String>
pub fn get_task_list_schedule_to_start_timeout(&self) -> &Option<String>
The maximum amount of time the decision task can wait to be assigned to a worker.
sourcepub fn build(self) -> DecisionTaskCompletedEventAttributes
pub fn build(self) -> DecisionTaskCompletedEventAttributes
Consumes the builder and constructs a DecisionTaskCompletedEventAttributes
.
Trait Implementations§
source§impl Clone for DecisionTaskCompletedEventAttributesBuilder
impl Clone for DecisionTaskCompletedEventAttributesBuilder
source§fn clone(&self) -> DecisionTaskCompletedEventAttributesBuilder
fn clone(&self) -> DecisionTaskCompletedEventAttributesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DecisionTaskCompletedEventAttributesBuilder
impl Default for DecisionTaskCompletedEventAttributesBuilder
source§fn default() -> DecisionTaskCompletedEventAttributesBuilder
fn default() -> DecisionTaskCompletedEventAttributesBuilder
source§impl PartialEq for DecisionTaskCompletedEventAttributesBuilder
impl PartialEq for DecisionTaskCompletedEventAttributesBuilder
source§fn eq(&self, other: &DecisionTaskCompletedEventAttributesBuilder) -> bool
fn eq(&self, other: &DecisionTaskCompletedEventAttributesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.