#[non_exhaustive]pub struct UsageStatisticsFilterBuilder { /* private fields */ }Expand description
A builder for UsageStatisticsFilter.
Implementations§
source§impl UsageStatisticsFilterBuilder
impl UsageStatisticsFilterBuilder
sourcepub fn comparator(self, input: UsageStatisticsFilterComparator) -> Self
pub fn comparator(self, input: UsageStatisticsFilterComparator) -> Self
The operator to use in the condition. If the value for the key property is accountId, this value must be CONTAINS. If the value for the key property is any other supported field, this value can be EQ, GT, GTE, LT, LTE, or NE.
sourcepub fn set_comparator(
self,
input: Option<UsageStatisticsFilterComparator>
) -> Self
pub fn set_comparator( self, input: Option<UsageStatisticsFilterComparator> ) -> Self
The operator to use in the condition. If the value for the key property is accountId, this value must be CONTAINS. If the value for the key property is any other supported field, this value can be EQ, GT, GTE, LT, LTE, or NE.
sourcepub fn get_comparator(&self) -> &Option<UsageStatisticsFilterComparator>
pub fn get_comparator(&self) -> &Option<UsageStatisticsFilterComparator>
The operator to use in the condition. If the value for the key property is accountId, this value must be CONTAINS. If the value for the key property is any other supported field, this value can be EQ, GT, GTE, LT, LTE, or NE.
sourcepub fn key(self, input: UsageStatisticsFilterKey) -> Self
pub fn key(self, input: UsageStatisticsFilterKey) -> Self
The field to use in the condition.
sourcepub fn set_key(self, input: Option<UsageStatisticsFilterKey>) -> Self
pub fn set_key(self, input: Option<UsageStatisticsFilterKey>) -> Self
The field to use in the condition.
sourcepub fn get_key(&self) -> &Option<UsageStatisticsFilterKey>
pub fn get_key(&self) -> &Option<UsageStatisticsFilterKey>
The field to use in the condition.
sourcepub fn values(self, input: impl Into<String>) -> Self
pub fn values(self, input: impl Into<String>) -> Self
Appends an item to values.
To override the contents of this collection use set_values.
An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value.
Valid values for each supported field are:
accountId - The unique identifier for an Amazon Web Services account.
freeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie free trial started for an account.
serviceLimit - A Boolean (true or false) value that indicates whether an account has reached its monthly quota.
total - A string that represents the current estimated cost for an account.
sourcepub fn set_values(self, input: Option<Vec<String>>) -> Self
pub fn set_values(self, input: Option<Vec<String>>) -> Self
An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value.
Valid values for each supported field are:
accountId - The unique identifier for an Amazon Web Services account.
freeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie free trial started for an account.
serviceLimit - A Boolean (true or false) value that indicates whether an account has reached its monthly quota.
total - A string that represents the current estimated cost for an account.
sourcepub fn get_values(&self) -> &Option<Vec<String>>
pub fn get_values(&self) -> &Option<Vec<String>>
An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value.
Valid values for each supported field are:
accountId - The unique identifier for an Amazon Web Services account.
freeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie free trial started for an account.
serviceLimit - A Boolean (true or false) value that indicates whether an account has reached its monthly quota.
total - A string that represents the current estimated cost for an account.
sourcepub fn build(self) -> UsageStatisticsFilter
pub fn build(self) -> UsageStatisticsFilter
Consumes the builder and constructs a UsageStatisticsFilter.
Trait Implementations§
source§impl Clone for UsageStatisticsFilterBuilder
impl Clone for UsageStatisticsFilterBuilder
source§fn clone(&self) -> UsageStatisticsFilterBuilder
fn clone(&self) -> UsageStatisticsFilterBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UsageStatisticsFilterBuilder
impl Debug for UsageStatisticsFilterBuilder
source§impl Default for UsageStatisticsFilterBuilder
impl Default for UsageStatisticsFilterBuilder
source§fn default() -> UsageStatisticsFilterBuilder
fn default() -> UsageStatisticsFilterBuilder
source§impl PartialEq for UsageStatisticsFilterBuilder
impl PartialEq for UsageStatisticsFilterBuilder
source§fn eq(&self, other: &UsageStatisticsFilterBuilder) -> bool
fn eq(&self, other: &UsageStatisticsFilterBuilder) -> bool
self and other values to be equal, and is used
by ==.