#[non_exhaustive]pub struct ActivityTaskStartedEventAttributesBuilder { /* private fields */ }
Expand description
A builder for ActivityTaskStartedEventAttributes
.
Implementations§
source§impl ActivityTaskStartedEventAttributesBuilder
impl ActivityTaskStartedEventAttributesBuilder
sourcepub fn identity(self, input: impl Into<String>) -> Self
pub fn identity(self, input: impl Into<String>) -> Self
Identity of the worker that was assigned this task. This aids diagnostics 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 worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined.
sourcepub fn get_identity(&self) -> &Option<String>
pub fn get_identity(&self) -> &Option<String>
Identity of the worker that was assigned this task. This aids diagnostics 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 ActivityTaskScheduled
event that was recorded when this activity 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 ActivityTaskScheduled
event that was recorded when this activity 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 ActivityTaskScheduled
event that was recorded when this activity 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) -> ActivityTaskStartedEventAttributes
pub fn build(self) -> ActivityTaskStartedEventAttributes
Consumes the builder and constructs a ActivityTaskStartedEventAttributes
.
Trait Implementations§
source§impl Clone for ActivityTaskStartedEventAttributesBuilder
impl Clone for ActivityTaskStartedEventAttributesBuilder
source§fn clone(&self) -> ActivityTaskStartedEventAttributesBuilder
fn clone(&self) -> ActivityTaskStartedEventAttributesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ActivityTaskStartedEventAttributesBuilder
impl Default for ActivityTaskStartedEventAttributesBuilder
source§fn default() -> ActivityTaskStartedEventAttributesBuilder
fn default() -> ActivityTaskStartedEventAttributesBuilder
source§impl PartialEq for ActivityTaskStartedEventAttributesBuilder
impl PartialEq for ActivityTaskStartedEventAttributesBuilder
source§fn eq(&self, other: &ActivityTaskStartedEventAttributesBuilder) -> bool
fn eq(&self, other: &ActivityTaskStartedEventAttributesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.