#[non_exhaustive]pub struct ActivityTaskCompletedEventAttributesBuilder { /* private fields */ }
Expand description
A builder for ActivityTaskCompletedEventAttributes
.
Implementations§
source§impl ActivityTaskCompletedEventAttributesBuilder
impl ActivityTaskCompletedEventAttributesBuilder
sourcepub fn set_result(self, input: Option<String>) -> Self
pub fn set_result(self, input: Option<String>) -> Self
The results of the activity task.
sourcepub fn get_result(&self) -> &Option<String>
pub fn get_result(&self) -> &Option<String>
The results of the activity task.
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 started_event_id(self, input: i64) -> Self
pub fn started_event_id(self, input: i64) -> Self
The ID of the ActivityTaskStarted
event recorded when this activity 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 ActivityTaskStarted
event recorded when this activity 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 ActivityTaskStarted
event recorded when this activity 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 build(self) -> ActivityTaskCompletedEventAttributes
pub fn build(self) -> ActivityTaskCompletedEventAttributes
Consumes the builder and constructs a ActivityTaskCompletedEventAttributes
.
Trait Implementations§
source§impl Clone for ActivityTaskCompletedEventAttributesBuilder
impl Clone for ActivityTaskCompletedEventAttributesBuilder
source§fn clone(&self) -> ActivityTaskCompletedEventAttributesBuilder
fn clone(&self) -> ActivityTaskCompletedEventAttributesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ActivityTaskCompletedEventAttributesBuilder
impl Default for ActivityTaskCompletedEventAttributesBuilder
source§fn default() -> ActivityTaskCompletedEventAttributesBuilder
fn default() -> ActivityTaskCompletedEventAttributesBuilder
source§impl PartialEq for ActivityTaskCompletedEventAttributesBuilder
impl PartialEq for ActivityTaskCompletedEventAttributesBuilder
source§fn eq(&self, other: &ActivityTaskCompletedEventAttributesBuilder) -> bool
fn eq(&self, other: &ActivityTaskCompletedEventAttributesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.