Struct aws_sdk_iot::model::job_process_details::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for JobProcessDetails
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn processing_targets(self, input: impl Into<String>) -> Self
pub fn processing_targets(self, input: impl Into<String>) -> Self
Appends an item to processing_targets
.
To override the contents of this collection use set_processing_targets
.
The target devices to which the job execution is being rolled out. This value will be null after the job execution has finished rolling out to all the target devices.
sourcepub fn set_processing_targets(self, input: Option<Vec<String>>) -> Self
pub fn set_processing_targets(self, input: Option<Vec<String>>) -> Self
The target devices to which the job execution is being rolled out. This value will be null after the job execution has finished rolling out to all the target devices.
sourcepub fn number_of_canceled_things(self, input: i32) -> Self
pub fn number_of_canceled_things(self, input: i32) -> Self
The number of things that cancelled the job.
sourcepub fn set_number_of_canceled_things(self, input: Option<i32>) -> Self
pub fn set_number_of_canceled_things(self, input: Option<i32>) -> Self
The number of things that cancelled the job.
sourcepub fn number_of_succeeded_things(self, input: i32) -> Self
pub fn number_of_succeeded_things(self, input: i32) -> Self
The number of things which successfully completed the job.
sourcepub fn set_number_of_succeeded_things(self, input: Option<i32>) -> Self
pub fn set_number_of_succeeded_things(self, input: Option<i32>) -> Self
The number of things which successfully completed the job.
sourcepub fn number_of_failed_things(self, input: i32) -> Self
pub fn number_of_failed_things(self, input: i32) -> Self
The number of things that failed executing the job.
sourcepub fn set_number_of_failed_things(self, input: Option<i32>) -> Self
pub fn set_number_of_failed_things(self, input: Option<i32>) -> Self
The number of things that failed executing the job.
sourcepub fn number_of_rejected_things(self, input: i32) -> Self
pub fn number_of_rejected_things(self, input: i32) -> Self
The number of things that rejected the job.
sourcepub fn set_number_of_rejected_things(self, input: Option<i32>) -> Self
pub fn set_number_of_rejected_things(self, input: Option<i32>) -> Self
The number of things that rejected the job.
sourcepub fn number_of_queued_things(self, input: i32) -> Self
pub fn number_of_queued_things(self, input: i32) -> Self
The number of things that are awaiting execution of the job.
sourcepub fn set_number_of_queued_things(self, input: Option<i32>) -> Self
pub fn set_number_of_queued_things(self, input: Option<i32>) -> Self
The number of things that are awaiting execution of the job.
sourcepub fn number_of_in_progress_things(self, input: i32) -> Self
pub fn number_of_in_progress_things(self, input: i32) -> Self
The number of things currently executing the job.
sourcepub fn set_number_of_in_progress_things(self, input: Option<i32>) -> Self
pub fn set_number_of_in_progress_things(self, input: Option<i32>) -> Self
The number of things currently executing the job.
sourcepub fn number_of_removed_things(self, input: i32) -> Self
pub fn number_of_removed_things(self, input: i32) -> Self
The number of things that are no longer scheduled to execute the job because they have been deleted or have been removed from the group that was a target of the job.
sourcepub fn set_number_of_removed_things(self, input: Option<i32>) -> Self
pub fn set_number_of_removed_things(self, input: Option<i32>) -> Self
The number of things that are no longer scheduled to execute the job because they have been deleted or have been removed from the group that was a target of the job.
sourcepub fn number_of_timed_out_things(self, input: i32) -> Self
pub fn number_of_timed_out_things(self, input: i32) -> Self
The number of things whose job execution status is TIMED_OUT
.
sourcepub fn set_number_of_timed_out_things(self, input: Option<i32>) -> Self
pub fn set_number_of_timed_out_things(self, input: Option<i32>) -> Self
The number of things whose job execution status is TIMED_OUT
.
sourcepub fn build(self) -> JobProcessDetails
pub fn build(self) -> JobProcessDetails
Consumes the builder and constructs a JobProcessDetails
.