Struct aws_sdk_iot::types::builders::TaskStatisticsBuilder
source · #[non_exhaustive]pub struct TaskStatisticsBuilder { /* private fields */ }
Expand description
A builder for TaskStatistics
.
Implementations§
source§impl TaskStatisticsBuilder
impl TaskStatisticsBuilder
sourcepub fn total_checks(self, input: i32) -> Self
pub fn total_checks(self, input: i32) -> Self
The number of checks in this audit.
sourcepub fn set_total_checks(self, input: Option<i32>) -> Self
pub fn set_total_checks(self, input: Option<i32>) -> Self
The number of checks in this audit.
sourcepub fn get_total_checks(&self) -> &Option<i32>
pub fn get_total_checks(&self) -> &Option<i32>
The number of checks in this audit.
sourcepub fn in_progress_checks(self, input: i32) -> Self
pub fn in_progress_checks(self, input: i32) -> Self
The number of checks in progress.
sourcepub fn set_in_progress_checks(self, input: Option<i32>) -> Self
pub fn set_in_progress_checks(self, input: Option<i32>) -> Self
The number of checks in progress.
sourcepub fn get_in_progress_checks(&self) -> &Option<i32>
pub fn get_in_progress_checks(&self) -> &Option<i32>
The number of checks in progress.
sourcepub fn waiting_for_data_collection_checks(self, input: i32) -> Self
pub fn waiting_for_data_collection_checks(self, input: i32) -> Self
The number of checks waiting for data collection.
sourcepub fn set_waiting_for_data_collection_checks(self, input: Option<i32>) -> Self
pub fn set_waiting_for_data_collection_checks(self, input: Option<i32>) -> Self
The number of checks waiting for data collection.
sourcepub fn get_waiting_for_data_collection_checks(&self) -> &Option<i32>
pub fn get_waiting_for_data_collection_checks(&self) -> &Option<i32>
The number of checks waiting for data collection.
sourcepub fn compliant_checks(self, input: i32) -> Self
pub fn compliant_checks(self, input: i32) -> Self
The number of checks that found compliant resources.
sourcepub fn set_compliant_checks(self, input: Option<i32>) -> Self
pub fn set_compliant_checks(self, input: Option<i32>) -> Self
The number of checks that found compliant resources.
sourcepub fn get_compliant_checks(&self) -> &Option<i32>
pub fn get_compliant_checks(&self) -> &Option<i32>
The number of checks that found compliant resources.
sourcepub fn non_compliant_checks(self, input: i32) -> Self
pub fn non_compliant_checks(self, input: i32) -> Self
The number of checks that found noncompliant resources.
sourcepub fn set_non_compliant_checks(self, input: Option<i32>) -> Self
pub fn set_non_compliant_checks(self, input: Option<i32>) -> Self
The number of checks that found noncompliant resources.
sourcepub fn get_non_compliant_checks(&self) -> &Option<i32>
pub fn get_non_compliant_checks(&self) -> &Option<i32>
The number of checks that found noncompliant resources.
sourcepub fn failed_checks(self, input: i32) -> Self
pub fn failed_checks(self, input: i32) -> Self
The number of checks.
sourcepub fn set_failed_checks(self, input: Option<i32>) -> Self
pub fn set_failed_checks(self, input: Option<i32>) -> Self
The number of checks.
sourcepub fn get_failed_checks(&self) -> &Option<i32>
pub fn get_failed_checks(&self) -> &Option<i32>
The number of checks.
sourcepub fn canceled_checks(self, input: i32) -> Self
pub fn canceled_checks(self, input: i32) -> Self
The number of checks that did not run because the audit was canceled.
sourcepub fn set_canceled_checks(self, input: Option<i32>) -> Self
pub fn set_canceled_checks(self, input: Option<i32>) -> Self
The number of checks that did not run because the audit was canceled.
sourcepub fn get_canceled_checks(&self) -> &Option<i32>
pub fn get_canceled_checks(&self) -> &Option<i32>
The number of checks that did not run because the audit was canceled.
sourcepub fn build(self) -> TaskStatistics
pub fn build(self) -> TaskStatistics
Consumes the builder and constructs a TaskStatistics
.
Trait Implementations§
source§impl Clone for TaskStatisticsBuilder
impl Clone for TaskStatisticsBuilder
source§fn clone(&self) -> TaskStatisticsBuilder
fn clone(&self) -> TaskStatisticsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TaskStatisticsBuilder
impl Debug for TaskStatisticsBuilder
source§impl Default for TaskStatisticsBuilder
impl Default for TaskStatisticsBuilder
source§fn default() -> TaskStatisticsBuilder
fn default() -> TaskStatisticsBuilder
source§impl PartialEq for TaskStatisticsBuilder
impl PartialEq for TaskStatisticsBuilder
source§fn eq(&self, other: &TaskStatisticsBuilder) -> bool
fn eq(&self, other: &TaskStatisticsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TaskStatisticsBuilder
Auto Trait Implementations§
impl Freeze for TaskStatisticsBuilder
impl RefUnwindSafe for TaskStatisticsBuilder
impl Send for TaskStatisticsBuilder
impl Sync for TaskStatisticsBuilder
impl Unpin for TaskStatisticsBuilder
impl UnwindSafe for TaskStatisticsBuilder
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