Struct aws_sdk_fsx::types::AutoExportPolicy
source · #[non_exhaustive]pub struct AutoExportPolicy {
pub events: Option<Vec<EventType>>,
}
Expand description
Describes a data repository association's automatic export policy. The AutoExportPolicy
defines the types of updated objects on the file system that will be automatically exported to the data repository. As you create, modify, or delete files, Amazon FSx for Lustre automatically exports the defined changes asynchronously once your application finishes modifying the file.
The AutoExportPolicy
is only supported on Amazon FSx for Lustre file systems with a data repository association.
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.events: Option<Vec<EventType>>
The AutoExportPolicy
can have the following event values:
-
NEW
- New files and directories are automatically exported to the data repository as they are added to the file system. -
CHANGED
- Changes to files and directories on the file system are automatically exported to the data repository. -
DELETED
- Files and directories are automatically deleted on the data repository when they are deleted on the file system.
You can define any combination of event types for your AutoExportPolicy
.
Implementations§
source§impl AutoExportPolicy
impl AutoExportPolicy
sourcepub fn events(&self) -> &[EventType]
pub fn events(&self) -> &[EventType]
The AutoExportPolicy
can have the following event values:
-
NEW
- New files and directories are automatically exported to the data repository as they are added to the file system. -
CHANGED
- Changes to files and directories on the file system are automatically exported to the data repository. -
DELETED
- Files and directories are automatically deleted on the data repository when they are deleted on the file system.
You can define any combination of event types for your AutoExportPolicy
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .events.is_none()
.
source§impl AutoExportPolicy
impl AutoExportPolicy
sourcepub fn builder() -> AutoExportPolicyBuilder
pub fn builder() -> AutoExportPolicyBuilder
Creates a new builder-style object to manufacture AutoExportPolicy
.
Trait Implementations§
source§impl Clone for AutoExportPolicy
impl Clone for AutoExportPolicy
source§fn clone(&self) -> AutoExportPolicy
fn clone(&self) -> AutoExportPolicy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutoExportPolicy
impl Debug for AutoExportPolicy
source§impl PartialEq for AutoExportPolicy
impl PartialEq for AutoExportPolicy
source§fn eq(&self, other: &AutoExportPolicy) -> bool
fn eq(&self, other: &AutoExportPolicy) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutoExportPolicy
Auto Trait Implementations§
impl Freeze for AutoExportPolicy
impl RefUnwindSafe for AutoExportPolicy
impl Send for AutoExportPolicy
impl Sync for AutoExportPolicy
impl Unpin for AutoExportPolicy
impl UnwindSafe for AutoExportPolicy
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