#[non_exhaustive]pub struct DecisionTaskScheduledEventAttributes { /* private fields */ }
Expand description
Provides details about the DecisionTaskScheduled
event.
Implementations§
source§impl DecisionTaskScheduledEventAttributes
impl DecisionTaskScheduledEventAttributes
sourcepub fn task_list(&self) -> Option<&TaskList>
pub fn task_list(&self) -> Option<&TaskList>
The name of the task list in which the decision task was scheduled.
sourcepub fn task_priority(&self) -> Option<&str>
pub fn task_priority(&self) -> Option<&str>
A task priority that, if set, specifies the priority for this decision task. Valid values are integers that range from Java's Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
sourcepub fn start_to_close_timeout(&self) -> Option<&str>
pub fn start_to_close_timeout(&self) -> Option<&str>
The maximum duration for this decision task. The task is considered timed out if it doesn't completed within this duration.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
to specify unlimited duration.
source§impl DecisionTaskScheduledEventAttributes
impl DecisionTaskScheduledEventAttributes
sourcepub fn builder() -> DecisionTaskScheduledEventAttributesBuilder
pub fn builder() -> DecisionTaskScheduledEventAttributesBuilder
Creates a new builder-style object to manufacture DecisionTaskScheduledEventAttributes
.
Trait Implementations§
source§impl Clone for DecisionTaskScheduledEventAttributes
impl Clone for DecisionTaskScheduledEventAttributes
source§fn clone(&self) -> DecisionTaskScheduledEventAttributes
fn clone(&self) -> DecisionTaskScheduledEventAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<DecisionTaskScheduledEventAttributes> for DecisionTaskScheduledEventAttributes
impl PartialEq<DecisionTaskScheduledEventAttributes> for DecisionTaskScheduledEventAttributes
source§fn eq(&self, other: &DecisionTaskScheduledEventAttributes) -> bool
fn eq(&self, other: &DecisionTaskScheduledEventAttributes) -> bool
self
and other
values to be equal, and is used
by ==
.