#[non_exhaustive]pub struct DecisionTaskScheduledEventAttributes {
pub task_list: Option<TaskList>,
pub task_priority: Option<String>,
pub start_to_close_timeout: Option<String>,
pub schedule_to_start_timeout: Option<String>,
}
Expand description
Provides details about the DecisionTaskScheduled
event.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.task_list: Option<TaskList>
The name of the task list in which the decision task was scheduled.
task_priority: Option<String>
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.
start_to_close_timeout: Option<String>
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.
schedule_to_start_timeout: Option<String>
The maximum amount of time the decision task can wait to be assigned to a worker.
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.
sourcepub fn schedule_to_start_timeout(&self) -> Option<&str>
pub fn schedule_to_start_timeout(&self) -> Option<&str>
The maximum amount of time the decision task can wait to be assigned to a worker.
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 for DecisionTaskScheduledEventAttributes
impl PartialEq 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 ==
.