@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoExportPolicy extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
AutoExportPolicy() |
Modifier and Type | Method and Description |
---|---|
AutoExportPolicy |
clone() |
boolean |
equals(Object obj) |
List<String> |
getEvents()
The
AutoExportPolicy 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
AutoExportPolicy can have the following event values: |
String |
toString()
Returns a string representation of this object.
|
AutoExportPolicy |
withEvents(Collection<String> events)
The
AutoExportPolicy can have the following event values: |
AutoExportPolicy |
withEvents(EventType... events)
The
AutoExportPolicy can have the following event values: |
AutoExportPolicy |
withEvents(String... events)
The
AutoExportPolicy can have the following event values: |
public List<String> getEvents()
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
.
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
.
EventType
public void setEvents(Collection<String> events)
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
.
events
- 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
.
EventType
public AutoExportPolicy withEvents(String... events)
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
.
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 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
.
EventType
public AutoExportPolicy withEvents(Collection<String> events)
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
.
events
- 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
.
EventType
public AutoExportPolicy withEvents(EventType... events)
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
.
events
- 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
.
EventType
public String toString()
toString
in class Object
Object.toString()
public AutoExportPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.