#[non_exhaustive]pub struct ActivityTaskFailedEventAttributesBuilder { /* private fields */ }
Expand description
A builder for ActivityTaskFailedEventAttributes
.
Implementations§
source§impl ActivityTaskFailedEventAttributesBuilder
impl ActivityTaskFailedEventAttributesBuilder
sourcepub fn set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
The reason provided for the failure.
sourcepub fn get_reason(&self) -> &Option<String>
pub fn get_reason(&self) -> &Option<String>
The reason provided for the failure.
sourcepub fn set_details(self, input: Option<String>) -> Self
pub fn set_details(self, input: Option<String>) -> Self
The details of the failure.
sourcepub fn get_details(&self) -> &Option<String>
pub fn get_details(&self) -> &Option<String>
The details of the failure.
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) -> ActivityTaskFailedEventAttributes
pub fn build(self) -> ActivityTaskFailedEventAttributes
Consumes the builder and constructs a ActivityTaskFailedEventAttributes
.
Trait Implementations§
source§impl Clone for ActivityTaskFailedEventAttributesBuilder
impl Clone for ActivityTaskFailedEventAttributesBuilder
source§fn clone(&self) -> ActivityTaskFailedEventAttributesBuilder
fn clone(&self) -> ActivityTaskFailedEventAttributesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ActivityTaskFailedEventAttributesBuilder
impl Default for ActivityTaskFailedEventAttributesBuilder
source§fn default() -> ActivityTaskFailedEventAttributesBuilder
fn default() -> ActivityTaskFailedEventAttributesBuilder
source§impl PartialEq for ActivityTaskFailedEventAttributesBuilder
impl PartialEq for ActivityTaskFailedEventAttributesBuilder
source§fn eq(&self, other: &ActivityTaskFailedEventAttributesBuilder) -> bool
fn eq(&self, other: &ActivityTaskFailedEventAttributesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.