Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::IntelligentTieringFilter
pub struct IntelligentTieringFilter {
pub prefix: Option<String>,
pub tag: Option<Tag>,
pub and: Option<IntelligentTieringAndOperator>,
}
Expand description
The Filter
is used to identify objects that the S3 Intelligent-Tiering configuration applies to.
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.prefix: Option<String>
An object key name prefix that identifies the subset of objects to which the rule applies.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
tag: Option<Tag>
A container of a key value name pair.
and: Option<IntelligentTieringAndOperator>
A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates, and an object must match all of the predicates in order for the filter to apply.
Implementations§
§impl IntelligentTieringFilter
impl IntelligentTieringFilter
pub fn prefix(&self) -> Option<&str>
pub fn prefix(&self) -> Option<&str>
An object key name prefix that identifies the subset of objects to which the rule applies.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
pub fn and(&self) -> Option<&IntelligentTieringAndOperator>
pub fn and(&self) -> Option<&IntelligentTieringAndOperator>
A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates, and an object must match all of the predicates in order for the filter to apply.
§impl IntelligentTieringFilter
impl IntelligentTieringFilter
pub fn builder() -> IntelligentTieringFilterBuilder
pub fn builder() -> IntelligentTieringFilterBuilder
Creates a new builder-style object to manufacture IntelligentTieringFilter
.
Trait Implementations§
§impl Clone for IntelligentTieringFilter
impl Clone for IntelligentTieringFilter
§fn clone(&self) -> IntelligentTieringFilter
fn clone(&self) -> IntelligentTieringFilter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for IntelligentTieringFilter
impl Debug for IntelligentTieringFilter
§impl PartialEq<IntelligentTieringFilter> for IntelligentTieringFilter
impl PartialEq<IntelligentTieringFilter> for IntelligentTieringFilter
§fn eq(&self, other: &IntelligentTieringFilter) -> bool
fn eq(&self, other: &IntelligentTieringFilter) -> bool
self
and other
values to be equal, and is used
by ==
.