#[non_exhaustive]pub struct ReplicationRuleAndOperator {
pub prefix: Option<String>,
pub tags: Option<Vec<S3Tag>>,
}Expand description
A container for specifying rule filters. The filters determine the subset of objects to which the rule applies. This element is required only if you specify more than one filter.
For example:
-
If you specify both a
Prefixand aTagfilter, wrap these filters in anAndelement. -
If you specify a filter based on multiple tags, wrap the
Tagelements in anAndelement.
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 that the rule applies to.
An array of tags that contain key and value pairs.
Implementations§
source§impl ReplicationRuleAndOperator
impl ReplicationRuleAndOperator
sourcepub fn prefix(&self) -> Option<&str>
pub fn prefix(&self) -> Option<&str>
An object key name prefix that identifies the subset of objects that the rule applies to.
An array of tags that contain key and value pairs.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
source§impl ReplicationRuleAndOperator
impl ReplicationRuleAndOperator
sourcepub fn builder() -> ReplicationRuleAndOperatorBuilder
pub fn builder() -> ReplicationRuleAndOperatorBuilder
Creates a new builder-style object to manufacture ReplicationRuleAndOperator.
Trait Implementations§
source§impl Clone for ReplicationRuleAndOperator
impl Clone for ReplicationRuleAndOperator
source§fn clone(&self) -> ReplicationRuleAndOperator
fn clone(&self) -> ReplicationRuleAndOperator
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ReplicationRuleAndOperator
impl Debug for ReplicationRuleAndOperator
source§impl PartialEq for ReplicationRuleAndOperator
impl PartialEq for ReplicationRuleAndOperator
source§fn eq(&self, other: &ReplicationRuleAndOperator) -> bool
fn eq(&self, other: &ReplicationRuleAndOperator) -> bool
self and other values to be equal, and is used
by ==.