#[non_exhaustive]pub struct BucketCriteriaAdditionalProperties {
pub eq: Option<Vec<String>>,
pub gt: Option<i64>,
pub gte: Option<i64>,
pub lt: Option<i64>,
pub lte: Option<i64>,
pub neq: Option<Vec<String>>,
pub prefix: Option<String>,
}
Expand description
Specifies the operator to use in a property-based condition that filters the results of a query for information about S3 buckets.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.eq: Option<Vec<String>>
The value for the property matches (equals) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
gt: Option<i64>
The value for the property is greater than the specified value.
gte: Option<i64>
The value for the property is greater than or equal to the specified value.
lt: Option<i64>
The value for the property is less than the specified value.
lte: Option<i64>
The value for the property is less than or equal to the specified value.
neq: Option<Vec<String>>
The value for the property doesn't match (doesn't equal) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
prefix: Option<String>
The name of the bucket begins with the specified value.
Implementations§
source§impl BucketCriteriaAdditionalProperties
impl BucketCriteriaAdditionalProperties
sourcepub fn eq(&self) -> &[String]
pub fn eq(&self) -> &[String]
The value for the property matches (equals) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .eq.is_none()
.
sourcepub fn gt(&self) -> Option<i64>
pub fn gt(&self) -> Option<i64>
The value for the property is greater than the specified value.
sourcepub fn gte(&self) -> Option<i64>
pub fn gte(&self) -> Option<i64>
The value for the property is greater than or equal to the specified value.
sourcepub fn lte(&self) -> Option<i64>
pub fn lte(&self) -> Option<i64>
The value for the property is less than or equal to the specified value.
sourcepub fn neq(&self) -> &[String]
pub fn neq(&self) -> &[String]
The value for the property doesn't match (doesn't equal) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .neq.is_none()
.
source§impl BucketCriteriaAdditionalProperties
impl BucketCriteriaAdditionalProperties
sourcepub fn builder() -> BucketCriteriaAdditionalPropertiesBuilder
pub fn builder() -> BucketCriteriaAdditionalPropertiesBuilder
Creates a new builder-style object to manufacture BucketCriteriaAdditionalProperties
.
Trait Implementations§
source§impl Clone for BucketCriteriaAdditionalProperties
impl Clone for BucketCriteriaAdditionalProperties
source§fn clone(&self) -> BucketCriteriaAdditionalProperties
fn clone(&self) -> BucketCriteriaAdditionalProperties
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for BucketCriteriaAdditionalProperties
impl PartialEq for BucketCriteriaAdditionalProperties
source§fn eq(&self, other: &BucketCriteriaAdditionalProperties) -> bool
fn eq(&self, other: &BucketCriteriaAdditionalProperties) -> bool
self
and other
values to be equal, and is used
by ==
.