@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3DataRepositoryConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository
association. The configuration consists of an AutoImportPolicy
that defines 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.
Constructor and Description |
---|
S3DataRepositoryConfiguration() |
Modifier and Type | Method and Description |
---|---|
S3DataRepositoryConfiguration |
clone() |
boolean |
equals(Object obj) |
AutoExportPolicy |
getAutoExportPolicy()
Specifies the type of updated objects (new, changed, deleted) that will be automatically exported from your file
system to the linked S3 bucket.
|
AutoImportPolicy |
getAutoImportPolicy()
Specifies the type of updated objects (new, changed, deleted) that will be automatically imported from the linked
S3 bucket to your file system.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAutoExportPolicy(AutoExportPolicy autoExportPolicy)
Specifies the type of updated objects (new, changed, deleted) that will be automatically exported from your file
system to the linked S3 bucket.
|
void |
setAutoImportPolicy(AutoImportPolicy autoImportPolicy)
Specifies the type of updated objects (new, changed, deleted) that will be automatically imported from the linked
S3 bucket to your file system.
|
String |
toString()
Returns a string representation of this object.
|
S3DataRepositoryConfiguration |
withAutoExportPolicy(AutoExportPolicy autoExportPolicy)
Specifies the type of updated objects (new, changed, deleted) that will be automatically exported from your file
system to the linked S3 bucket.
|
S3DataRepositoryConfiguration |
withAutoImportPolicy(AutoImportPolicy autoImportPolicy)
Specifies the type of updated objects (new, changed, deleted) that will be automatically imported from the linked
S3 bucket to your file system.
|
public void setAutoImportPolicy(AutoImportPolicy autoImportPolicy)
Specifies the type of updated objects (new, changed, deleted) that will be automatically imported from the linked S3 bucket to your file system.
autoImportPolicy
- Specifies the type of updated objects (new, changed, deleted) that will be automatically imported from the
linked S3 bucket to your file system.public AutoImportPolicy getAutoImportPolicy()
Specifies the type of updated objects (new, changed, deleted) that will be automatically imported from the linked S3 bucket to your file system.
public S3DataRepositoryConfiguration withAutoImportPolicy(AutoImportPolicy autoImportPolicy)
Specifies the type of updated objects (new, changed, deleted) that will be automatically imported from the linked S3 bucket to your file system.
autoImportPolicy
- Specifies the type of updated objects (new, changed, deleted) that will be automatically imported from the
linked S3 bucket to your file system.public void setAutoExportPolicy(AutoExportPolicy autoExportPolicy)
Specifies the type of updated objects (new, changed, deleted) that will be automatically exported from your file system to the linked S3 bucket.
autoExportPolicy
- Specifies the type of updated objects (new, changed, deleted) that will be automatically exported from
your file system to the linked S3 bucket.public AutoExportPolicy getAutoExportPolicy()
Specifies the type of updated objects (new, changed, deleted) that will be automatically exported from your file system to the linked S3 bucket.
public S3DataRepositoryConfiguration withAutoExportPolicy(AutoExportPolicy autoExportPolicy)
Specifies the type of updated objects (new, changed, deleted) that will be automatically exported from your file system to the linked S3 bucket.
autoExportPolicy
- Specifies the type of updated objects (new, changed, deleted) that will be automatically exported from
your file system to the linked S3 bucket.public String toString()
toString
in class Object
Object.toString()
public S3DataRepositoryConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.