Struct aws_sdk_fsx::types::S3DataRepositoryConfiguration
source · #[non_exhaustive]pub struct S3DataRepositoryConfiguration {
pub auto_import_policy: Option<AutoImportPolicy>,
pub auto_export_policy: Option<AutoExportPolicy>,
}
Expand description
The configuration for an Amazon S3 data repository linked to an Amazon FSx for Lustre file system with a data repository association. The configuration consists of an AutoImportPolicy
that defines which file events on the data repository are automatically imported to the file system and an AutoExportPolicy
that defines which file events on the file system are automatically exported to the data repository. File events are when files or directories are added, changed, or deleted on the file system or the data repository.
Data repository associations on Amazon File Cache don't use S3DataRepositoryConfiguration
because they don't support automatic import or automatic export.
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.auto_import_policy: Option<AutoImportPolicy>
Specifies the type of updated objects (new, changed, deleted) that will be automatically imported from the linked S3 bucket to your file system.
auto_export_policy: Option<AutoExportPolicy>
Specifies the type of updated objects (new, changed, deleted) that will be automatically exported from your file system to the linked S3 bucket.
Implementations§
source§impl S3DataRepositoryConfiguration
impl S3DataRepositoryConfiguration
sourcepub fn auto_import_policy(&self) -> Option<&AutoImportPolicy>
pub fn auto_import_policy(&self) -> Option<&AutoImportPolicy>
Specifies the type of updated objects (new, changed, deleted) that will be automatically imported from the linked S3 bucket to your file system.
sourcepub fn auto_export_policy(&self) -> Option<&AutoExportPolicy>
pub fn auto_export_policy(&self) -> Option<&AutoExportPolicy>
Specifies the type of updated objects (new, changed, deleted) that will be automatically exported from your file system to the linked S3 bucket.
source§impl S3DataRepositoryConfiguration
impl S3DataRepositoryConfiguration
sourcepub fn builder() -> S3DataRepositoryConfigurationBuilder
pub fn builder() -> S3DataRepositoryConfigurationBuilder
Creates a new builder-style object to manufacture S3DataRepositoryConfiguration
.
Trait Implementations§
source§impl Clone for S3DataRepositoryConfiguration
impl Clone for S3DataRepositoryConfiguration
source§fn clone(&self) -> S3DataRepositoryConfiguration
fn clone(&self) -> S3DataRepositoryConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for S3DataRepositoryConfiguration
impl PartialEq for S3DataRepositoryConfiguration
source§fn eq(&self, other: &S3DataRepositoryConfiguration) -> bool
fn eq(&self, other: &S3DataRepositoryConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3DataRepositoryConfiguration
Auto Trait Implementations§
impl Freeze for S3DataRepositoryConfiguration
impl RefUnwindSafe for S3DataRepositoryConfiguration
impl Send for S3DataRepositoryConfiguration
impl Sync for S3DataRepositoryConfiguration
impl Unpin for S3DataRepositoryConfiguration
impl UnwindSafe for S3DataRepositoryConfiguration
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
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>
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>
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 more