#[non_exhaustive]pub struct ActivityTaskCanceledEventAttributesBuilder { /* private fields */ }
Expand description
A builder for ActivityTaskCanceledEventAttributes
.
Implementations§
source§impl ActivityTaskCanceledEventAttributesBuilder
impl ActivityTaskCanceledEventAttributesBuilder
sourcepub fn set_details(self, input: Option<String>) -> Self
pub fn set_details(self, input: Option<String>) -> Self
Details of the cancellation.
sourcepub fn get_details(&self) -> &Option<String>
pub fn get_details(&self) -> &Option<String>
Details of the cancellation.
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 latest_cancel_requested_event_id(self, input: i64) -> Self
pub fn latest_cancel_requested_event_id(self, input: i64) -> Self
If set, contains the ID of the last ActivityTaskCancelRequested
event recorded for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn set_latest_cancel_requested_event_id(self, input: Option<i64>) -> Self
pub fn set_latest_cancel_requested_event_id(self, input: Option<i64>) -> Self
If set, contains the ID of the last ActivityTaskCancelRequested
event recorded for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn get_latest_cancel_requested_event_id(&self) -> &Option<i64>
pub fn get_latest_cancel_requested_event_id(&self) -> &Option<i64>
If set, contains the ID of the last ActivityTaskCancelRequested
event recorded for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn build(self) -> ActivityTaskCanceledEventAttributes
pub fn build(self) -> ActivityTaskCanceledEventAttributes
Consumes the builder and constructs a ActivityTaskCanceledEventAttributes
.
Trait Implementations§
source§impl Clone for ActivityTaskCanceledEventAttributesBuilder
impl Clone for ActivityTaskCanceledEventAttributesBuilder
source§fn clone(&self) -> ActivityTaskCanceledEventAttributesBuilder
fn clone(&self) -> ActivityTaskCanceledEventAttributesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ActivityTaskCanceledEventAttributesBuilder
impl Default for ActivityTaskCanceledEventAttributesBuilder
source§fn default() -> ActivityTaskCanceledEventAttributesBuilder
fn default() -> ActivityTaskCanceledEventAttributesBuilder
source§impl PartialEq for ActivityTaskCanceledEventAttributesBuilder
impl PartialEq for ActivityTaskCanceledEventAttributesBuilder
source§fn eq(&self, other: &ActivityTaskCanceledEventAttributesBuilder) -> bool
fn eq(&self, other: &ActivityTaskCanceledEventAttributesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.