Struct aws_sdk_macie2::types::UsageByAccount
source · #[non_exhaustive]pub struct UsageByAccount { /* private fields */ }Expand description
Provides data for a specific usage metric and the corresponding quota for an Amazon Macie account.
Implementations§
source§impl UsageByAccount
impl UsageByAccount
sourcepub fn currency(&self) -> Option<&Currency>
pub fn currency(&self) -> Option<&Currency>
The type of currency that the value for the metric (estimatedCost) is reported in.
sourcepub fn estimated_cost(&self) -> Option<&str>
pub fn estimated_cost(&self) -> Option<&str>
The estimated value for the metric.
sourcepub fn service_limit(&self) -> Option<&ServiceLimit>
pub fn service_limit(&self) -> Option<&ServiceLimit>
The current value for the quota that corresponds to the metric specified by the type field.
sourcepub fn type(&self) -> Option<&UsageType>
pub fn type(&self) -> Option<&UsageType>
The name of the metric. Possible values are: AUTOMATED_OBJECT_MONITORING, to monitor S3 objects for automated sensitive data discovery; AUTOMATED_SENSITIVE_DATA_DISCOVERY, to analyze S3 objects for automated sensitive data discovery; DATA_INVENTORY_EVALUATION, to monitor S3 buckets; and, SENSITIVE_DATA_DISCOVERY, to run classification jobs.
source§impl UsageByAccount
impl UsageByAccount
sourcepub fn builder() -> UsageByAccountBuilder
pub fn builder() -> UsageByAccountBuilder
Creates a new builder-style object to manufacture UsageByAccount.
Trait Implementations§
source§impl Clone for UsageByAccount
impl Clone for UsageByAccount
source§fn clone(&self) -> UsageByAccount
fn clone(&self) -> UsageByAccount
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 UsageByAccount
impl Debug for UsageByAccount
source§impl PartialEq<UsageByAccount> for UsageByAccount
impl PartialEq<UsageByAccount> for UsageByAccount
source§fn eq(&self, other: &UsageByAccount) -> bool
fn eq(&self, other: &UsageByAccount) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UsageByAccount
Auto Trait Implementations§
impl RefUnwindSafe for UsageByAccount
impl Send for UsageByAccount
impl Sync for UsageByAccount
impl Unpin for UsageByAccount
impl UnwindSafe for UsageByAccount
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