Struct aws_sdk_iotjobsdataplane::operation::start_next_pending_job_execution::builders::StartNextPendingJobExecutionInputBuilder
source · #[non_exhaustive]pub struct StartNextPendingJobExecutionInputBuilder { /* private fields */ }
Expand description
A builder for StartNextPendingJobExecutionInput
.
Implementations§
source§impl StartNextPendingJobExecutionInputBuilder
impl StartNextPendingJobExecutionInputBuilder
sourcepub fn thing_name(self, input: impl Into<String>) -> Self
pub fn thing_name(self, input: impl Into<String>) -> Self
The name of the thing associated with the device.
This field is required.sourcepub fn set_thing_name(self, input: Option<String>) -> Self
pub fn set_thing_name(self, input: Option<String>) -> Self
The name of the thing associated with the device.
sourcepub fn get_thing_name(&self) -> &Option<String>
pub fn get_thing_name(&self) -> &Option<String>
The name of the thing associated with the device.
sourcepub fn status_details(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn status_details(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to status_details
.
To override the contents of this collection use set_status_details
.
A collection of name/value pairs that describe the status of the job execution. If not specified, the statusDetails are unchanged.
sourcepub fn set_status_details(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_status_details(self, input: Option<HashMap<String, String>>) -> Self
A collection of name/value pairs that describe the status of the job execution. If not specified, the statusDetails are unchanged.
sourcepub fn get_status_details(&self) -> &Option<HashMap<String, String>>
pub fn get_status_details(&self) -> &Option<HashMap<String, String>>
A collection of name/value pairs that describe the status of the job execution. If not specified, the statusDetails are unchanged.
sourcepub fn step_timeout_in_minutes(self, input: i64) -> Self
pub fn step_timeout_in_minutes(self, input: i64) -> Self
Specifies the amount of time this device has to finish execution of this job. If the job execution status is not set to a terminal state before this timer expires, or before the timer is reset (by calling UpdateJobExecution
, setting the status to IN_PROGRESS
and specifying a new timeout value in field stepTimeoutInMinutes
) the job execution status will be automatically set to TIMED_OUT
. Note that setting this timeout has no effect on that job execution timeout which may have been specified when the job was created (CreateJob
using field timeoutConfig
).
sourcepub fn set_step_timeout_in_minutes(self, input: Option<i64>) -> Self
pub fn set_step_timeout_in_minutes(self, input: Option<i64>) -> Self
Specifies the amount of time this device has to finish execution of this job. If the job execution status is not set to a terminal state before this timer expires, or before the timer is reset (by calling UpdateJobExecution
, setting the status to IN_PROGRESS
and specifying a new timeout value in field stepTimeoutInMinutes
) the job execution status will be automatically set to TIMED_OUT
. Note that setting this timeout has no effect on that job execution timeout which may have been specified when the job was created (CreateJob
using field timeoutConfig
).
sourcepub fn get_step_timeout_in_minutes(&self) -> &Option<i64>
pub fn get_step_timeout_in_minutes(&self) -> &Option<i64>
Specifies the amount of time this device has to finish execution of this job. If the job execution status is not set to a terminal state before this timer expires, or before the timer is reset (by calling UpdateJobExecution
, setting the status to IN_PROGRESS
and specifying a new timeout value in field stepTimeoutInMinutes
) the job execution status will be automatically set to TIMED_OUT
. Note that setting this timeout has no effect on that job execution timeout which may have been specified when the job was created (CreateJob
using field timeoutConfig
).
sourcepub fn build(self) -> Result<StartNextPendingJobExecutionInput, BuildError>
pub fn build(self) -> Result<StartNextPendingJobExecutionInput, BuildError>
Consumes the builder and constructs a StartNextPendingJobExecutionInput
.
source§impl StartNextPendingJobExecutionInputBuilder
impl StartNextPendingJobExecutionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartNextPendingJobExecutionOutput, SdkError<StartNextPendingJobExecutionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartNextPendingJobExecutionOutput, SdkError<StartNextPendingJobExecutionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartNextPendingJobExecutionInputBuilder
impl Clone for StartNextPendingJobExecutionInputBuilder
source§fn clone(&self) -> StartNextPendingJobExecutionInputBuilder
fn clone(&self) -> StartNextPendingJobExecutionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartNextPendingJobExecutionInputBuilder
impl Default for StartNextPendingJobExecutionInputBuilder
source§fn default() -> StartNextPendingJobExecutionInputBuilder
fn default() -> StartNextPendingJobExecutionInputBuilder
source§impl PartialEq for StartNextPendingJobExecutionInputBuilder
impl PartialEq for StartNextPendingJobExecutionInputBuilder
source§fn eq(&self, other: &StartNextPendingJobExecutionInputBuilder) -> bool
fn eq(&self, other: &StartNextPendingJobExecutionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartNextPendingJobExecutionInputBuilder
Auto Trait Implementations§
impl Freeze for StartNextPendingJobExecutionInputBuilder
impl RefUnwindSafe for StartNextPendingJobExecutionInputBuilder
impl Send for StartNextPendingJobExecutionInputBuilder
impl Sync for StartNextPendingJobExecutionInputBuilder
impl Unpin for StartNextPendingJobExecutionInputBuilder
impl UnwindSafe for StartNextPendingJobExecutionInputBuilder
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