#[non_exhaustive]pub struct GetUsageTotalsInputBuilder { /* private fields */ }Expand description
A builder for GetUsageTotalsInput.
Implementations§
source§impl GetUsageTotalsInputBuilder
impl GetUsageTotalsInputBuilder
sourcepub fn time_range(self, input: impl Into<String>) -> Self
pub fn time_range(self, input: impl Into<String>) -> Self
The inclusive time period to retrieve the data for. Valid values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don't specify a value for this parameter, Amazon Macie provides aggregated usage data for the preceding 30 days.
sourcepub fn set_time_range(self, input: Option<String>) -> Self
pub fn set_time_range(self, input: Option<String>) -> Self
The inclusive time period to retrieve the data for. Valid values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don't specify a value for this parameter, Amazon Macie provides aggregated usage data for the preceding 30 days.
sourcepub fn build(self) -> Result<GetUsageTotalsInput, BuildError>
pub fn build(self) -> Result<GetUsageTotalsInput, BuildError>
Consumes the builder and constructs a GetUsageTotalsInput.
Trait Implementations§
source§impl Clone for GetUsageTotalsInputBuilder
impl Clone for GetUsageTotalsInputBuilder
source§fn clone(&self) -> GetUsageTotalsInputBuilder
fn clone(&self) -> GetUsageTotalsInputBuilder
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 GetUsageTotalsInputBuilder
impl Debug for GetUsageTotalsInputBuilder
source§impl Default for GetUsageTotalsInputBuilder
impl Default for GetUsageTotalsInputBuilder
source§fn default() -> GetUsageTotalsInputBuilder
fn default() -> GetUsageTotalsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetUsageTotalsInputBuilder> for GetUsageTotalsInputBuilder
impl PartialEq<GetUsageTotalsInputBuilder> for GetUsageTotalsInputBuilder
source§fn eq(&self, other: &GetUsageTotalsInputBuilder) -> bool
fn eq(&self, other: &GetUsageTotalsInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetUsageTotalsInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetUsageTotalsInputBuilder
impl Send for GetUsageTotalsInputBuilder
impl Sync for GetUsageTotalsInputBuilder
impl Unpin for GetUsageTotalsInputBuilder
impl UnwindSafe for GetUsageTotalsInputBuilder
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