Struct aws_sdk_iot::types::builders::AwsJobTimeoutConfigBuilder
source · #[non_exhaustive]pub struct AwsJobTimeoutConfigBuilder { /* private fields */ }
Expand description
A builder for AwsJobTimeoutConfig
.
Implementations§
source§impl AwsJobTimeoutConfigBuilder
impl AwsJobTimeoutConfigBuilder
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) -> AwsJobTimeoutConfig
pub fn build(self) -> AwsJobTimeoutConfig
Consumes the builder and constructs a AwsJobTimeoutConfig
.
Trait Implementations§
source§impl Clone for AwsJobTimeoutConfigBuilder
impl Clone for AwsJobTimeoutConfigBuilder
source§fn clone(&self) -> AwsJobTimeoutConfigBuilder
fn clone(&self) -> AwsJobTimeoutConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsJobTimeoutConfigBuilder
impl Debug for AwsJobTimeoutConfigBuilder
source§impl Default for AwsJobTimeoutConfigBuilder
impl Default for AwsJobTimeoutConfigBuilder
source§fn default() -> AwsJobTimeoutConfigBuilder
fn default() -> AwsJobTimeoutConfigBuilder
source§impl PartialEq for AwsJobTimeoutConfigBuilder
impl PartialEq for AwsJobTimeoutConfigBuilder
source§fn eq(&self, other: &AwsJobTimeoutConfigBuilder) -> bool
fn eq(&self, other: &AwsJobTimeoutConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsJobTimeoutConfigBuilder
Auto Trait Implementations§
impl Freeze for AwsJobTimeoutConfigBuilder
impl RefUnwindSafe for AwsJobTimeoutConfigBuilder
impl Send for AwsJobTimeoutConfigBuilder
impl Sync for AwsJobTimeoutConfigBuilder
impl Unpin for AwsJobTimeoutConfigBuilder
impl UnwindSafe for AwsJobTimeoutConfigBuilder
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