Struct aws_sdk_fsx::types::builders::AutoImportPolicyBuilder
source · #[non_exhaustive]pub struct AutoImportPolicyBuilder { /* private fields */ }
Expand description
A builder for AutoImportPolicy
.
Implementations§
source§impl AutoImportPolicyBuilder
impl AutoImportPolicyBuilder
sourcepub fn events(self, input: EventType) -> Self
pub fn events(self, input: EventType) -> Self
Appends an item to events
.
To override the contents of this collection use set_events
.
The AutoImportPolicy
can have the following event values:
-
NEW
- Amazon FSx automatically imports metadata of files added to the linked S3 bucket that do not currently exist in the FSx file system. -
CHANGED
- Amazon FSx automatically updates file metadata and invalidates existing file content on the file system as files change in the data repository. -
DELETED
- Amazon FSx automatically deletes files on the file system as corresponding files are deleted in the data repository.
You can define any combination of event types for your AutoImportPolicy
.
sourcepub fn set_events(self, input: Option<Vec<EventType>>) -> Self
pub fn set_events(self, input: Option<Vec<EventType>>) -> Self
The AutoImportPolicy
can have the following event values:
-
NEW
- Amazon FSx automatically imports metadata of files added to the linked S3 bucket that do not currently exist in the FSx file system. -
CHANGED
- Amazon FSx automatically updates file metadata and invalidates existing file content on the file system as files change in the data repository. -
DELETED
- Amazon FSx automatically deletes files on the file system as corresponding files are deleted in the data repository.
You can define any combination of event types for your AutoImportPolicy
.
sourcepub fn get_events(&self) -> &Option<Vec<EventType>>
pub fn get_events(&self) -> &Option<Vec<EventType>>
The AutoImportPolicy
can have the following event values:
-
NEW
- Amazon FSx automatically imports metadata of files added to the linked S3 bucket that do not currently exist in the FSx file system. -
CHANGED
- Amazon FSx automatically updates file metadata and invalidates existing file content on the file system as files change in the data repository. -
DELETED
- Amazon FSx automatically deletes files on the file system as corresponding files are deleted in the data repository.
You can define any combination of event types for your AutoImportPolicy
.
sourcepub fn build(self) -> AutoImportPolicy
pub fn build(self) -> AutoImportPolicy
Consumes the builder and constructs a AutoImportPolicy
.
Trait Implementations§
source§impl Clone for AutoImportPolicyBuilder
impl Clone for AutoImportPolicyBuilder
source§fn clone(&self) -> AutoImportPolicyBuilder
fn clone(&self) -> AutoImportPolicyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutoImportPolicyBuilder
impl Debug for AutoImportPolicyBuilder
source§impl Default for AutoImportPolicyBuilder
impl Default for AutoImportPolicyBuilder
source§fn default() -> AutoImportPolicyBuilder
fn default() -> AutoImportPolicyBuilder
source§impl PartialEq for AutoImportPolicyBuilder
impl PartialEq for AutoImportPolicyBuilder
source§fn eq(&self, other: &AutoImportPolicyBuilder) -> bool
fn eq(&self, other: &AutoImportPolicyBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.