Struct aws_sdk_macie2::types::builders::StatisticsBuilder
source · #[non_exhaustive]pub struct StatisticsBuilder { /* private fields */ }Expand description
A builder for Statistics.
Implementations§
source§impl StatisticsBuilder
impl StatisticsBuilder
sourcepub fn approximate_number_of_objects_to_process(self, input: f64) -> Self
pub fn approximate_number_of_objects_to_process(self, input: f64) -> Self
The approximate number of objects that the job has yet to process during its current run.
sourcepub fn set_approximate_number_of_objects_to_process(
self,
input: Option<f64>,
) -> Self
pub fn set_approximate_number_of_objects_to_process( self, input: Option<f64>, ) -> Self
The approximate number of objects that the job has yet to process during its current run.
sourcepub fn get_approximate_number_of_objects_to_process(&self) -> &Option<f64>
pub fn get_approximate_number_of_objects_to_process(&self) -> &Option<f64>
The approximate number of objects that the job has yet to process during its current run.
sourcepub fn number_of_runs(self, input: f64) -> Self
pub fn number_of_runs(self, input: f64) -> Self
The number of times that the job has run.
sourcepub fn set_number_of_runs(self, input: Option<f64>) -> Self
pub fn set_number_of_runs(self, input: Option<f64>) -> Self
The number of times that the job has run.
sourcepub fn get_number_of_runs(&self) -> &Option<f64>
pub fn get_number_of_runs(&self) -> &Option<f64>
The number of times that the job has run.
sourcepub fn build(self) -> Statistics
pub fn build(self) -> Statistics
Consumes the builder and constructs a Statistics.
Trait Implementations§
source§impl Clone for StatisticsBuilder
impl Clone for StatisticsBuilder
source§fn clone(&self) -> StatisticsBuilder
fn clone(&self) -> StatisticsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for StatisticsBuilder
impl Debug for StatisticsBuilder
source§impl Default for StatisticsBuilder
impl Default for StatisticsBuilder
source§fn default() -> StatisticsBuilder
fn default() -> StatisticsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StatisticsBuilder
impl PartialEq for StatisticsBuilder
impl StructuralPartialEq for StatisticsBuilder
Auto Trait Implementations§
impl Freeze for StatisticsBuilder
impl RefUnwindSafe for StatisticsBuilder
impl Send for StatisticsBuilder
impl Sync for StatisticsBuilder
impl Unpin for StatisticsBuilder
impl UnwindSafe for StatisticsBuilder
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.