#[non_exhaustive]pub struct DecisionTaskTimedOutEventAttributesBuilder { /* private fields */ }
Expand description
A builder for DecisionTaskTimedOutEventAttributes
.
Implementations§
source§impl DecisionTaskTimedOutEventAttributesBuilder
impl DecisionTaskTimedOutEventAttributesBuilder
sourcepub fn timeout_type(self, input: DecisionTaskTimeoutType) -> Self
pub fn timeout_type(self, input: DecisionTaskTimeoutType) -> Self
The type of timeout that expired before the decision task could be completed.
This field is required.sourcepub fn set_timeout_type(self, input: Option<DecisionTaskTimeoutType>) -> Self
pub fn set_timeout_type(self, input: Option<DecisionTaskTimeoutType>) -> Self
The type of timeout that expired before the decision task could be completed.
sourcepub fn get_timeout_type(&self) -> &Option<DecisionTaskTimeoutType>
pub fn get_timeout_type(&self) -> &Option<DecisionTaskTimeoutType>
The type of timeout that expired before the decision task could be completed.
sourcepub fn scheduled_event_id(self, input: i64) -> Self
pub fn scheduled_event_id(self, input: i64) -> Self
The ID of the DecisionTaskScheduled
event that was recorded when this decision 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 DecisionTaskScheduled
event that was recorded when this decision 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 DecisionTaskScheduled
event that was recorded when this decision 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 DecisionTaskStarted
event recorded when this decision 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 DecisionTaskStarted
event recorded when this decision 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 DecisionTaskStarted
event recorded when this decision 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) -> Result<DecisionTaskTimedOutEventAttributes, BuildError>
pub fn build(self) -> Result<DecisionTaskTimedOutEventAttributes, BuildError>
Consumes the builder and constructs a DecisionTaskTimedOutEventAttributes
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DecisionTaskTimedOutEventAttributesBuilder
impl Clone for DecisionTaskTimedOutEventAttributesBuilder
source§fn clone(&self) -> DecisionTaskTimedOutEventAttributesBuilder
fn clone(&self) -> DecisionTaskTimedOutEventAttributesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DecisionTaskTimedOutEventAttributesBuilder
impl Default for DecisionTaskTimedOutEventAttributesBuilder
source§fn default() -> DecisionTaskTimedOutEventAttributesBuilder
fn default() -> DecisionTaskTimedOutEventAttributesBuilder
source§impl PartialEq for DecisionTaskTimedOutEventAttributesBuilder
impl PartialEq for DecisionTaskTimedOutEventAttributesBuilder
source§fn eq(&self, other: &DecisionTaskTimedOutEventAttributesBuilder) -> bool
fn eq(&self, other: &DecisionTaskTimedOutEventAttributesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DecisionTaskTimedOutEventAttributesBuilder
Auto Trait Implementations§
impl Freeze for DecisionTaskTimedOutEventAttributesBuilder
impl RefUnwindSafe for DecisionTaskTimedOutEventAttributesBuilder
impl Send for DecisionTaskTimedOutEventAttributesBuilder
impl Sync for DecisionTaskTimedOutEventAttributesBuilder
impl Unpin for DecisionTaskTimedOutEventAttributesBuilder
impl UnwindSafe for DecisionTaskTimedOutEventAttributesBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more