#[non_exhaustive]pub struct ActivityTaskTimedOutEventAttributesBuilder { /* private fields */ }
Expand description
A builder for ActivityTaskTimedOutEventAttributes
.
Implementations§
source§impl ActivityTaskTimedOutEventAttributesBuilder
impl ActivityTaskTimedOutEventAttributesBuilder
sourcepub fn timeout_type(self, input: ActivityTaskTimeoutType) -> Self
pub fn timeout_type(self, input: ActivityTaskTimeoutType) -> Self
The type of the timeout that caused this event.
sourcepub fn set_timeout_type(self, input: Option<ActivityTaskTimeoutType>) -> Self
pub fn set_timeout_type(self, input: Option<ActivityTaskTimeoutType>) -> Self
The type of the timeout that caused this event.
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 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 details(self, input: impl Into<String>) -> Self
pub fn details(self, input: impl Into<String>) -> Self
Contains the content of the details
parameter for the last call made by the activity to RecordActivityTaskHeartbeat
.
sourcepub fn set_details(self, input: Option<String>) -> Self
pub fn set_details(self, input: Option<String>) -> Self
Contains the content of the details
parameter for the last call made by the activity to RecordActivityTaskHeartbeat
.
sourcepub fn build(self) -> ActivityTaskTimedOutEventAttributes
pub fn build(self) -> ActivityTaskTimedOutEventAttributes
Consumes the builder and constructs a ActivityTaskTimedOutEventAttributes
.
Trait Implementations§
source§impl Clone for ActivityTaskTimedOutEventAttributesBuilder
impl Clone for ActivityTaskTimedOutEventAttributesBuilder
source§fn clone(&self) -> ActivityTaskTimedOutEventAttributesBuilder
fn clone(&self) -> ActivityTaskTimedOutEventAttributesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ActivityTaskTimedOutEventAttributesBuilder
impl Default for ActivityTaskTimedOutEventAttributesBuilder
source§fn default() -> ActivityTaskTimedOutEventAttributesBuilder
fn default() -> ActivityTaskTimedOutEventAttributesBuilder
source§impl PartialEq<ActivityTaskTimedOutEventAttributesBuilder> for ActivityTaskTimedOutEventAttributesBuilder
impl PartialEq<ActivityTaskTimedOutEventAttributesBuilder> for ActivityTaskTimedOutEventAttributesBuilder
source§fn eq(&self, other: &ActivityTaskTimedOutEventAttributesBuilder) -> bool
fn eq(&self, other: &ActivityTaskTimedOutEventAttributesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.