#[non_exhaustive]pub struct IoTJobTimeoutConfigBuilder { /* private fields */ }Expand description
A builder for IoTJobTimeoutConfig.
Implementations§
source§impl IoTJobTimeoutConfigBuilder
impl IoTJobTimeoutConfigBuilder
sourcepub fn in_progress_timeout_in_minutes(self, input: i64) -> Self
pub fn in_progress_timeout_in_minutes(self, input: i64) -> Self
The amount of time, in minutes, that devices have to complete the job. The timer starts when the job status is set to IN_PROGRESS. If the job status doesn't change to a terminal state before the time expires, then the job status is set to TIMED_OUT.
The timeout interval must be between 1 minute and 7 days (10080 minutes).
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
The amount of time, in minutes, that devices have to complete the job. The timer starts when the job status is set to IN_PROGRESS. If the job status doesn't change to a terminal state before the time expires, then the job status is set to TIMED_OUT.
The timeout interval must be between 1 minute and 7 days (10080 minutes).
sourcepub fn get_in_progress_timeout_in_minutes(&self) -> &Option<i64>
pub fn get_in_progress_timeout_in_minutes(&self) -> &Option<i64>
The amount of time, in minutes, that devices have to complete the job. The timer starts when the job status is set to IN_PROGRESS. If the job status doesn't change to a terminal state before the time expires, then the job status is set to TIMED_OUT.
The timeout interval must be between 1 minute and 7 days (10080 minutes).
sourcepub fn build(self) -> IoTJobTimeoutConfig
pub fn build(self) -> IoTJobTimeoutConfig
Consumes the builder and constructs a IoTJobTimeoutConfig.
Trait Implementations§
source§impl Clone for IoTJobTimeoutConfigBuilder
impl Clone for IoTJobTimeoutConfigBuilder
source§fn clone(&self) -> IoTJobTimeoutConfigBuilder
fn clone(&self) -> IoTJobTimeoutConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for IoTJobTimeoutConfigBuilder
impl Debug for IoTJobTimeoutConfigBuilder
source§impl Default for IoTJobTimeoutConfigBuilder
impl Default for IoTJobTimeoutConfigBuilder
source§fn default() -> IoTJobTimeoutConfigBuilder
fn default() -> IoTJobTimeoutConfigBuilder
impl StructuralPartialEq for IoTJobTimeoutConfigBuilder
Auto Trait Implementations§
impl Freeze for IoTJobTimeoutConfigBuilder
impl RefUnwindSafe for IoTJobTimeoutConfigBuilder
impl Send for IoTJobTimeoutConfigBuilder
impl Sync for IoTJobTimeoutConfigBuilder
impl Unpin for IoTJobTimeoutConfigBuilder
impl UnwindSafe for IoTJobTimeoutConfigBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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