#[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 get_time_range(&self) -> &Option<String>
pub fn get_time_range(&self) -> &Option<String>
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
.
source§impl GetUsageTotalsInputBuilder
impl GetUsageTotalsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetUsageTotalsOutput, SdkError<GetUsageTotalsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetUsageTotalsOutput, SdkError<GetUsageTotalsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetUsageTotalsInputBuilder
impl Clone for GetUsageTotalsInputBuilder
source§fn clone(&self) -> GetUsageTotalsInputBuilder
fn clone(&self) -> GetUsageTotalsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for GetUsageTotalsInputBuilder
impl PartialEq for GetUsageTotalsInputBuilder
source§fn eq(&self, other: &GetUsageTotalsInputBuilder) -> bool
fn eq(&self, other: &GetUsageTotalsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.