#[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.
This field is required.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 get_timeout_type(&self) -> &Option<ActivityTaskTimeoutType>
pub fn get_timeout_type(&self) -> &Option<ActivityTaskTimeoutType>
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 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 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 get_details(&self) -> &Option<String>
pub fn get_details(&self) -> &Option<String>
Contains the content of the details
parameter for the last call made by the activity to RecordActivityTaskHeartbeat
.
sourcepub fn build(self) -> Result<ActivityTaskTimedOutEventAttributes, BuildError>
pub fn build(self) -> Result<ActivityTaskTimedOutEventAttributes, BuildError>
Consumes the builder and constructs a ActivityTaskTimedOutEventAttributes
.
This method will fail if any of the following fields are not set:
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 for ActivityTaskTimedOutEventAttributesBuilder
impl PartialEq 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 ==
.