@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoImportPolicy extends Object implements Serializable, Cloneable, StructuredPojo
Describes the data repository association's automatic import policy. The AutoImportPolicy defines how Amazon FSx keeps your file metadata and directory listings up to date by importing changes to your Amazon FSx for Lustre file system as you modify objects in a linked S3 bucket.
The AutoImportPolicy is only supported on Amazon FSx for Lustre file systems with a data repository
association.
| Constructor and Description |
|---|
AutoImportPolicy() |
| Modifier and Type | Method and Description |
|---|---|
AutoImportPolicy |
clone() |
boolean |
equals(Object obj) |
List<String> |
getEvents()
The
AutoImportPolicy can have the following event values: |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEvents(Collection<String> events)
The
AutoImportPolicy can have the following event values: |
String |
toString()
Returns a string representation of this object.
|
AutoImportPolicy |
withEvents(Collection<String> events)
The
AutoImportPolicy can have the following event values: |
AutoImportPolicy |
withEvents(EventType... events)
The
AutoImportPolicy can have the following event values: |
AutoImportPolicy |
withEvents(String... events)
The
AutoImportPolicy can have the following event values: |
public List<String> getEvents()
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.
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.
EventTypepublic void setEvents(Collection<String> 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.
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.
EventTypepublic AutoImportPolicy withEvents(String... 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.
NOTE: This method appends the values to the existing list (if any). Use
setEvents(java.util.Collection) or withEvents(java.util.Collection) if you want to override the
existing values.
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.
EventTypepublic AutoImportPolicy withEvents(Collection<String> 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.
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.
EventTypepublic AutoImportPolicy withEvents(EventType... 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.
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.
EventTypepublic String toString()
toString in class ObjectObject.toString()public AutoImportPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.