Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::S3KeyFilterBuilder
#[non_exhaustive]pub struct S3KeyFilterBuilder { /* private fields */ }
Expand description
A builder for S3KeyFilter
.
Implementations§
§impl S3KeyFilterBuilder
impl S3KeyFilterBuilder
pub fn filter_rules(self, input: FilterRule) -> S3KeyFilterBuilder
pub fn filter_rules(self, input: FilterRule) -> S3KeyFilterBuilder
Appends an item to filter_rules
.
To override the contents of this collection use set_filter_rules
.
A list of containers for the key-value pair that defines the criteria for the filter rule.
pub fn set_filter_rules(
self,
input: Option<Vec<FilterRule>>
) -> S3KeyFilterBuilder
pub fn set_filter_rules( self, input: Option<Vec<FilterRule>> ) -> S3KeyFilterBuilder
A list of containers for the key-value pair that defines the criteria for the filter rule.
pub fn get_filter_rules(&self) -> &Option<Vec<FilterRule>>
pub fn get_filter_rules(&self) -> &Option<Vec<FilterRule>>
A list of containers for the key-value pair that defines the criteria for the filter rule.
pub fn build(self) -> S3KeyFilter
pub fn build(self) -> S3KeyFilter
Consumes the builder and constructs a S3KeyFilter
.
Trait Implementations§
§impl Clone for S3KeyFilterBuilder
impl Clone for S3KeyFilterBuilder
§fn clone(&self) -> S3KeyFilterBuilder
fn clone(&self) -> S3KeyFilterBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for S3KeyFilterBuilder
impl Debug for S3KeyFilterBuilder
§impl Default for S3KeyFilterBuilder
impl Default for S3KeyFilterBuilder
§fn default() -> S3KeyFilterBuilder
fn default() -> S3KeyFilterBuilder
Returns the “default value” for a type. Read more
§impl PartialEq for S3KeyFilterBuilder
impl PartialEq for S3KeyFilterBuilder
§fn eq(&self, other: &S3KeyFilterBuilder) -> bool
fn eq(&self, other: &S3KeyFilterBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3KeyFilterBuilder
Auto Trait Implementations§
impl RefUnwindSafe for S3KeyFilterBuilder
impl Send for S3KeyFilterBuilder
impl Sync for S3KeyFilterBuilder
impl Unpin for S3KeyFilterBuilder
impl UnwindSafe for S3KeyFilterBuilder
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more