#[non_exhaustive]pub struct TimerCanceledEventAttributesBuilder { /* private fields */ }Expand description
A builder for TimerCanceledEventAttributes.
Implementations§
source§impl TimerCanceledEventAttributesBuilder
 
impl TimerCanceledEventAttributesBuilder
sourcepub fn timer_id(self, input: impl Into<String>) -> Self
 
pub fn timer_id(self, input: impl Into<String>) -> Self
The unique ID of the timer that was canceled.
sourcepub fn set_timer_id(self, input: Option<String>) -> Self
 
pub fn set_timer_id(self, input: Option<String>) -> Self
The unique ID of the timer that was canceled.
sourcepub fn get_timer_id(&self) -> &Option<String>
 
pub fn get_timer_id(&self) -> &Option<String>
The unique ID of the timer that was canceled.
sourcepub fn started_event_id(self, input: i64) -> Self
 
pub fn started_event_id(self, input: i64) -> Self
The ID of the TimerStarted event that was recorded when this timer 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 TimerStarted event that was recorded when this timer 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 TimerStarted event that was recorded when this timer was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn decision_task_completed_event_id(self, input: i64) -> Self
 
pub fn decision_task_completed_event_id(self, input: i64) -> Self
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn set_decision_task_completed_event_id(self, input: Option<i64>) -> Self
 
pub fn set_decision_task_completed_event_id(self, input: Option<i64>) -> Self
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn get_decision_task_completed_event_id(&self) -> &Option<i64>
 
pub fn get_decision_task_completed_event_id(&self) -> &Option<i64>
The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn build(self) -> TimerCanceledEventAttributes
 
pub fn build(self) -> TimerCanceledEventAttributes
Consumes the builder and constructs a TimerCanceledEventAttributes.
Trait Implementations§
source§impl Clone for TimerCanceledEventAttributesBuilder
 
impl Clone for TimerCanceledEventAttributesBuilder
source§fn clone(&self) -> TimerCanceledEventAttributesBuilder
 
fn clone(&self) -> TimerCanceledEventAttributesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for TimerCanceledEventAttributesBuilder
 
impl Default for TimerCanceledEventAttributesBuilder
source§fn default() -> TimerCanceledEventAttributesBuilder
 
fn default() -> TimerCanceledEventAttributesBuilder
source§impl PartialEq for TimerCanceledEventAttributesBuilder
 
impl PartialEq for TimerCanceledEventAttributesBuilder
source§fn eq(&self, other: &TimerCanceledEventAttributesBuilder) -> bool
 
fn eq(&self, other: &TimerCanceledEventAttributesBuilder) -> bool
self and other values to be equal, and is used
by ==.