Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::FilterRuleBuilder
#[non_exhaustive]pub struct FilterRuleBuilder { /* private fields */ }
Expand description
A builder for FilterRule
.
Implementations§
§impl FilterRuleBuilder
impl FilterRuleBuilder
pub fn name(self, input: FilterRuleName) -> FilterRuleBuilder
pub fn name(self, input: FilterRuleName) -> FilterRuleBuilder
The object key name prefix or suffix identifying one or more objects to which the filtering rule applies. The maximum length is 1,024 characters. Overlapping prefixes and suffixes are not supported. For more information, see Configuring Event Notifications in the Amazon S3 User Guide.
pub fn set_name(self, input: Option<FilterRuleName>) -> FilterRuleBuilder
pub fn set_name(self, input: Option<FilterRuleName>) -> FilterRuleBuilder
The object key name prefix or suffix identifying one or more objects to which the filtering rule applies. The maximum length is 1,024 characters. Overlapping prefixes and suffixes are not supported. For more information, see Configuring Event Notifications in the Amazon S3 User Guide.
pub fn get_name(&self) -> &Option<FilterRuleName>
pub fn get_name(&self) -> &Option<FilterRuleName>
The object key name prefix or suffix identifying one or more objects to which the filtering rule applies. The maximum length is 1,024 characters. Overlapping prefixes and suffixes are not supported. For more information, see Configuring Event Notifications in the Amazon S3 User Guide.
pub fn value(self, input: impl Into<String>) -> FilterRuleBuilder
pub fn value(self, input: impl Into<String>) -> FilterRuleBuilder
The value that the filter searches for in object key names.
pub fn set_value(self, input: Option<String>) -> FilterRuleBuilder
pub fn set_value(self, input: Option<String>) -> FilterRuleBuilder
The value that the filter searches for in object key names.
pub fn get_value(&self) -> &Option<String>
pub fn get_value(&self) -> &Option<String>
The value that the filter searches for in object key names.
pub fn build(self) -> FilterRule
pub fn build(self) -> FilterRule
Consumes the builder and constructs a FilterRule
.
Trait Implementations§
§impl Clone for FilterRuleBuilder
impl Clone for FilterRuleBuilder
§fn clone(&self) -> FilterRuleBuilder
fn clone(&self) -> FilterRuleBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for FilterRuleBuilder
impl Debug for FilterRuleBuilder
§impl Default for FilterRuleBuilder
impl Default for FilterRuleBuilder
§fn default() -> FilterRuleBuilder
fn default() -> FilterRuleBuilder
§impl PartialEq for FilterRuleBuilder
impl PartialEq for FilterRuleBuilder
§fn eq(&self, other: &FilterRuleBuilder) -> bool
fn eq(&self, other: &FilterRuleBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.