Struct aws_sdk_s3::types::builders::S3KeyFilterBuilder
source · #[non_exhaustive]pub struct S3KeyFilterBuilder { /* private fields */ }
Expand description
A builder for S3KeyFilter
.
Implementations§
source§impl S3KeyFilterBuilder
impl S3KeyFilterBuilder
sourcepub fn filter_rules(self, input: FilterRule) -> Self
pub fn filter_rules(self, input: FilterRule) -> Self
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.
sourcepub fn set_filter_rules(self, input: Option<Vec<FilterRule>>) -> Self
pub fn set_filter_rules(self, input: Option<Vec<FilterRule>>) -> Self
A list of containers for the key-value pair that defines the criteria for the filter rule.
sourcepub 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.
sourcepub fn build(self) -> S3KeyFilter
pub fn build(self) -> S3KeyFilter
Consumes the builder and constructs a S3KeyFilter
.
Trait Implementations§
source§impl Clone for S3KeyFilterBuilder
impl Clone for S3KeyFilterBuilder
source§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 moresource§impl Debug for S3KeyFilterBuilder
impl Debug for S3KeyFilterBuilder
source§impl Default for S3KeyFilterBuilder
impl Default for S3KeyFilterBuilder
source§fn default() -> S3KeyFilterBuilder
fn default() -> S3KeyFilterBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for S3KeyFilterBuilder
impl PartialEq for S3KeyFilterBuilder
source§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 Freeze for S3KeyFilterBuilder
impl RefUnwindSafe for S3KeyFilterBuilder
impl Send for S3KeyFilterBuilder
impl Sync for S3KeyFilterBuilder
impl Unpin for S3KeyFilterBuilder
impl UnwindSafe for S3KeyFilterBuilder
Blanket Implementations§
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.