Struct aws_sdk_iot::types::builders::TimeoutConfigBuilder
source · #[non_exhaustive]pub struct TimeoutConfigBuilder { /* private fields */ }
Expand description
A builder for TimeoutConfig
.
Implementations§
source§impl TimeoutConfigBuilder
impl TimeoutConfigBuilder
sourcepub fn in_progress_timeout_in_minutes(self, input: i64) -> Self
pub fn in_progress_timeout_in_minutes(self, input: i64) -> Self
Specifies the amount of time, in minutes, this device has to finish execution of this job. The timeout interval can be anywhere between 1 minute and 7 days (1 to 10080 minutes). The in progress timer can't be updated and will apply to all job executions for the job. Whenever a job execution remains in the IN_PROGRESS status for longer than this interval, the job execution will fail and switch to the terminal TIMED_OUT
status.
sourcepub fn set_in_progress_timeout_in_minutes(self, input: Option<i64>) -> Self
pub fn set_in_progress_timeout_in_minutes(self, input: Option<i64>) -> Self
Specifies the amount of time, in minutes, this device has to finish execution of this job. The timeout interval can be anywhere between 1 minute and 7 days (1 to 10080 minutes). The in progress timer can't be updated and will apply to all job executions for the job. Whenever a job execution remains in the IN_PROGRESS status for longer than this interval, the job execution will fail and switch to the terminal TIMED_OUT
status.
sourcepub fn get_in_progress_timeout_in_minutes(&self) -> &Option<i64>
pub fn get_in_progress_timeout_in_minutes(&self) -> &Option<i64>
Specifies the amount of time, in minutes, this device has to finish execution of this job. The timeout interval can be anywhere between 1 minute and 7 days (1 to 10080 minutes). The in progress timer can't be updated and will apply to all job executions for the job. Whenever a job execution remains in the IN_PROGRESS status for longer than this interval, the job execution will fail and switch to the terminal TIMED_OUT
status.
sourcepub fn build(self) -> TimeoutConfig
pub fn build(self) -> TimeoutConfig
Consumes the builder and constructs a TimeoutConfig
.
Trait Implementations§
source§impl Clone for TimeoutConfigBuilder
impl Clone for TimeoutConfigBuilder
source§fn clone(&self) -> TimeoutConfigBuilder
fn clone(&self) -> TimeoutConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TimeoutConfigBuilder
impl Debug for TimeoutConfigBuilder
source§impl Default for TimeoutConfigBuilder
impl Default for TimeoutConfigBuilder
source§fn default() -> TimeoutConfigBuilder
fn default() -> TimeoutConfigBuilder
source§impl PartialEq for TimeoutConfigBuilder
impl PartialEq for TimeoutConfigBuilder
source§fn eq(&self, other: &TimeoutConfigBuilder) -> bool
fn eq(&self, other: &TimeoutConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.