pub struct Builder { /* private fields */ }
Expand description
A builder for DecisionTaskStartedEventAttributes
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn identity(self, input: impl Into<String>) -> Self
pub fn identity(self, input: impl Into<String>) -> Self
Identity of the decider making the request. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
sourcepub fn set_identity(self, input: Option<String>) -> Self
pub fn set_identity(self, input: Option<String>) -> Self
Identity of the decider making the request. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
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 build(self) -> DecisionTaskStartedEventAttributes
pub fn build(self) -> DecisionTaskStartedEventAttributes
Consumes the builder and constructs a DecisionTaskStartedEventAttributes
.