Struct aws_sdk_iotjobsdataplane::operation::describe_job_execution::builders::DescribeJobExecutionInputBuilder
source · #[non_exhaustive]pub struct DescribeJobExecutionInputBuilder { /* private fields */ }
Expand description
A builder for DescribeJobExecutionInput
.
Implementations§
source§impl DescribeJobExecutionInputBuilder
impl DescribeJobExecutionInputBuilder
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The unique identifier assigned to this job when it was created.
This field is required.sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The unique identifier assigned to this job when it was created.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The unique identifier assigned to this job when it was created.
sourcepub fn thing_name(self, input: impl Into<String>) -> Self
pub fn thing_name(self, input: impl Into<String>) -> Self
The thing name associated with the device the job execution is running on.
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 thing name associated with the device the job execution is running on.
sourcepub fn get_thing_name(&self) -> &Option<String>
pub fn get_thing_name(&self) -> &Option<String>
The thing name associated with the device the job execution is running on.
sourcepub fn include_job_document(self, input: bool) -> Self
pub fn include_job_document(self, input: bool) -> Self
Optional. When set to true, the response contains the job document. The default is false.
sourcepub fn set_include_job_document(self, input: Option<bool>) -> Self
pub fn set_include_job_document(self, input: Option<bool>) -> Self
Optional. When set to true, the response contains the job document. The default is false.
sourcepub fn get_include_job_document(&self) -> &Option<bool>
pub fn get_include_job_document(&self) -> &Option<bool>
Optional. When set to true, the response contains the job document. The default is false.
sourcepub fn execution_number(self, input: i64) -> Self
pub fn execution_number(self, input: i64) -> Self
Optional. A number that identifies a particular job execution on a particular device. If not specified, the latest job execution is returned.
sourcepub fn set_execution_number(self, input: Option<i64>) -> Self
pub fn set_execution_number(self, input: Option<i64>) -> Self
Optional. A number that identifies a particular job execution on a particular device. If not specified, the latest job execution is returned.
sourcepub fn get_execution_number(&self) -> &Option<i64>
pub fn get_execution_number(&self) -> &Option<i64>
Optional. A number that identifies a particular job execution on a particular device. If not specified, the latest job execution is returned.
sourcepub fn build(self) -> Result<DescribeJobExecutionInput, BuildError>
pub fn build(self) -> Result<DescribeJobExecutionInput, BuildError>
Consumes the builder and constructs a DescribeJobExecutionInput
.
source§impl DescribeJobExecutionInputBuilder
impl DescribeJobExecutionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeJobExecutionOutput, SdkError<DescribeJobExecutionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeJobExecutionOutput, SdkError<DescribeJobExecutionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeJobExecutionInputBuilder
impl Clone for DescribeJobExecutionInputBuilder
source§fn clone(&self) -> DescribeJobExecutionInputBuilder
fn clone(&self) -> DescribeJobExecutionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeJobExecutionInputBuilder
impl Default for DescribeJobExecutionInputBuilder
source§fn default() -> DescribeJobExecutionInputBuilder
fn default() -> DescribeJobExecutionInputBuilder
source§impl PartialEq for DescribeJobExecutionInputBuilder
impl PartialEq for DescribeJobExecutionInputBuilder
source§fn eq(&self, other: &DescribeJobExecutionInputBuilder) -> bool
fn eq(&self, other: &DescribeJobExecutionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.