#[non_exhaustive]pub struct DecisionTaskScheduledEventAttributesBuilder { /* private fields */ }
Expand description
A builder for DecisionTaskScheduledEventAttributes
.
Implementations§
source§impl DecisionTaskScheduledEventAttributesBuilder
impl DecisionTaskScheduledEventAttributesBuilder
sourcepub fn task_list(self, input: TaskList) -> Self
pub fn task_list(self, input: TaskList) -> Self
The name of the task list in which the decision task was scheduled.
This field is required.sourcepub fn set_task_list(self, input: Option<TaskList>) -> Self
pub fn set_task_list(self, input: Option<TaskList>) -> Self
The name of the task list in which the decision task was scheduled.
sourcepub fn get_task_list(&self) -> &Option<TaskList>
pub fn get_task_list(&self) -> &Option<TaskList>
The name of the task list in which the decision task was scheduled.
sourcepub fn task_priority(self, input: impl Into<String>) -> Self
pub fn task_priority(self, input: impl Into<String>) -> Self
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 set_task_priority(self, input: Option<String>) -> Self
pub fn set_task_priority(self, input: Option<String>) -> Self
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 get_task_priority(&self) -> &Option<String>
pub fn get_task_priority(&self) -> &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.
sourcepub fn start_to_close_timeout(self, input: impl Into<String>) -> Self
pub fn start_to_close_timeout(self, input: impl Into<String>) -> Self
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 set_start_to_close_timeout(self, input: Option<String>) -> Self
pub fn set_start_to_close_timeout(self, input: Option<String>) -> Self
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 get_start_to_close_timeout(&self) -> &Option<String>
pub fn get_start_to_close_timeout(&self) -> &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.
sourcepub fn schedule_to_start_timeout(self, input: impl Into<String>) -> Self
pub fn schedule_to_start_timeout(self, input: impl Into<String>) -> Self
The maximum amount of time the decision task can wait to be assigned to a worker.
sourcepub fn set_schedule_to_start_timeout(self, input: Option<String>) -> Self
pub fn set_schedule_to_start_timeout(self, input: Option<String>) -> Self
The maximum amount of time the decision task can wait to be assigned to a worker.
sourcepub fn get_schedule_to_start_timeout(&self) -> &Option<String>
pub fn get_schedule_to_start_timeout(&self) -> &Option<String>
The maximum amount of time the decision task can wait to be assigned to a worker.
sourcepub fn build(self) -> DecisionTaskScheduledEventAttributes
pub fn build(self) -> DecisionTaskScheduledEventAttributes
Consumes the builder and constructs a DecisionTaskScheduledEventAttributes
.
Trait Implementations§
source§impl Clone for DecisionTaskScheduledEventAttributesBuilder
impl Clone for DecisionTaskScheduledEventAttributesBuilder
source§fn clone(&self) -> DecisionTaskScheduledEventAttributesBuilder
fn clone(&self) -> DecisionTaskScheduledEventAttributesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DecisionTaskScheduledEventAttributesBuilder
impl Default for DecisionTaskScheduledEventAttributesBuilder
source§fn default() -> DecisionTaskScheduledEventAttributesBuilder
fn default() -> DecisionTaskScheduledEventAttributesBuilder
source§impl PartialEq for DecisionTaskScheduledEventAttributesBuilder
impl PartialEq for DecisionTaskScheduledEventAttributesBuilder
source§fn eq(&self, other: &DecisionTaskScheduledEventAttributesBuilder) -> bool
fn eq(&self, other: &DecisionTaskScheduledEventAttributesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.