#[non_exhaustive]pub struct DecisionTaskStartedEventAttributesBuilder { /* private fields */ }
Expand description
A builder for DecisionTaskStartedEventAttributes
.
Implementations§
source§impl DecisionTaskStartedEventAttributesBuilder
impl DecisionTaskStartedEventAttributesBuilder
sourcepub fn identity(self, input: impl Into<String>) -> Self
pub fn identity(self, input: impl Into<String>) -> Self
Identity of the decider making the request. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
sourcepub fn set_identity(self, input: Option<String>) -> Self
pub fn set_identity(self, input: Option<String>) -> Self
Identity of the decider making the request. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
sourcepub fn get_identity(&self) -> &Option<String>
pub fn get_identity(&self) -> &Option<String>
Identity of the decider making the request. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
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 build(self) -> DecisionTaskStartedEventAttributes
pub fn build(self) -> DecisionTaskStartedEventAttributes
Consumes the builder and constructs a DecisionTaskStartedEventAttributes
.
Trait Implementations§
source§impl Clone for DecisionTaskStartedEventAttributesBuilder
impl Clone for DecisionTaskStartedEventAttributesBuilder
source§fn clone(&self) -> DecisionTaskStartedEventAttributesBuilder
fn clone(&self) -> DecisionTaskStartedEventAttributesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DecisionTaskStartedEventAttributesBuilder
impl Default for DecisionTaskStartedEventAttributesBuilder
source§fn default() -> DecisionTaskStartedEventAttributesBuilder
fn default() -> DecisionTaskStartedEventAttributesBuilder
source§impl PartialEq for DecisionTaskStartedEventAttributesBuilder
impl PartialEq for DecisionTaskStartedEventAttributesBuilder
source§fn eq(&self, other: &DecisionTaskStartedEventAttributesBuilder) -> bool
fn eq(&self, other: &DecisionTaskStartedEventAttributesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DecisionTaskStartedEventAttributesBuilder
Auto Trait Implementations§
impl Freeze for DecisionTaskStartedEventAttributesBuilder
impl RefUnwindSafe for DecisionTaskStartedEventAttributesBuilder
impl Send for DecisionTaskStartedEventAttributesBuilder
impl Sync for DecisionTaskStartedEventAttributesBuilder
impl Unpin for DecisionTaskStartedEventAttributesBuilder
impl UnwindSafe for DecisionTaskStartedEventAttributesBuilder
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