Struct aws_sdk_datasync::model::FilterRule
source · #[non_exhaustive]pub struct FilterRule { /* private fields */ }
Expand description
Specifies which files, folders, and objects to include or exclude when transferring files from source to destination.
Implementations§
source§impl FilterRule
impl FilterRule
sourcepub fn filter_type(&self) -> Option<&FilterType>
pub fn filter_type(&self) -> Option<&FilterType>
The type of filter rule to apply. DataSync only supports the SIMPLE_PATTERN rule type.
source§impl FilterRule
impl FilterRule
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FilterRule
.
Trait Implementations§
source§impl Clone for FilterRule
impl Clone for FilterRule
source§fn clone(&self) -> FilterRule
fn clone(&self) -> FilterRule
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 FilterRule
impl Debug for FilterRule
source§impl PartialEq<FilterRule> for FilterRule
impl PartialEq<FilterRule> for FilterRule
source§fn eq(&self, other: &FilterRule) -> bool
fn eq(&self, other: &FilterRule) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.