@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataRepositoryConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The data repository configuration object for Lustre file systems returned in the response of the
CreateFileSystem
operation.
This data type is not supported on file systems with a data repository association. For file systems with a data repository association, see .
Constructor and Description |
---|
DataRepositoryConfiguration() |
Modifier and Type | Method and Description |
---|---|
DataRepositoryConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getAutoImportPolicy()
Describes the file system's linked S3 data repository's
AutoImportPolicy . |
String |
getExportPath()
The export path to the Amazon S3 bucket (and prefix) that you are using to store new and changed Lustre file
system files in S3.
|
DataRepositoryFailureDetails |
getFailureDetails() |
Integer |
getImportedFileChunkSize()
For files imported from a data repository, this value determines the stripe count and maximum amount of data per
file (in MiB) stored on a single physical disk.
|
String |
getImportPath()
The import path to the Amazon S3 bucket (and optional prefix) that you're using as the data repository for your
FSx for Lustre file system, for example
s3://import-bucket/optional-prefix . |
String |
getLifecycle()
Describes the state of the file system's S3 durable data repository, if it is configured with an S3 repository.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAutoImportPolicy(String autoImportPolicy)
Describes the file system's linked S3 data repository's
AutoImportPolicy . |
void |
setExportPath(String exportPath)
The export path to the Amazon S3 bucket (and prefix) that you are using to store new and changed Lustre file
system files in S3.
|
void |
setFailureDetails(DataRepositoryFailureDetails failureDetails) |
void |
setImportedFileChunkSize(Integer importedFileChunkSize)
For files imported from a data repository, this value determines the stripe count and maximum amount of data per
file (in MiB) stored on a single physical disk.
|
void |
setImportPath(String importPath)
The import path to the Amazon S3 bucket (and optional prefix) that you're using as the data repository for your
FSx for Lustre file system, for example
s3://import-bucket/optional-prefix . |
void |
setLifecycle(String lifecycle)
Describes the state of the file system's S3 durable data repository, if it is configured with an S3 repository.
|
String |
toString()
Returns a string representation of this object.
|
DataRepositoryConfiguration |
withAutoImportPolicy(AutoImportPolicyType autoImportPolicy)
Describes the file system's linked S3 data repository's
AutoImportPolicy . |
DataRepositoryConfiguration |
withAutoImportPolicy(String autoImportPolicy)
Describes the file system's linked S3 data repository's
AutoImportPolicy . |
DataRepositoryConfiguration |
withExportPath(String exportPath)
The export path to the Amazon S3 bucket (and prefix) that you are using to store new and changed Lustre file
system files in S3.
|
DataRepositoryConfiguration |
withFailureDetails(DataRepositoryFailureDetails failureDetails) |
DataRepositoryConfiguration |
withImportedFileChunkSize(Integer importedFileChunkSize)
For files imported from a data repository, this value determines the stripe count and maximum amount of data per
file (in MiB) stored on a single physical disk.
|
DataRepositoryConfiguration |
withImportPath(String importPath)
The import path to the Amazon S3 bucket (and optional prefix) that you're using as the data repository for your
FSx for Lustre file system, for example
s3://import-bucket/optional-prefix . |
DataRepositoryConfiguration |
withLifecycle(DataRepositoryLifecycle lifecycle)
Describes the state of the file system's S3 durable data repository, if it is configured with an S3 repository.
|
DataRepositoryConfiguration |
withLifecycle(String lifecycle)
Describes the state of the file system's S3 durable data repository, if it is configured with an S3 repository.
|
public void setLifecycle(String lifecycle)
Describes the state of the file system's S3 durable data repository, if it is configured with an S3 repository. The lifecycle can have the following values:
CREATING
- The data repository configuration between the FSx file system and the linked S3 data
repository is being created. The data repository is unavailable.
AVAILABLE
- The data repository is available for use.
MISCONFIGURED
- Amazon FSx cannot automatically import updates from the S3 bucket until the data
repository configuration is corrected. For more information, see Troubleshooting a Misconfigured linked S3 bucket.
UPDATING
- The data repository is undergoing a customer initiated update and availability may be
impacted.
FAILED
- The data repository is in a terminal state that cannot be recovered.
lifecycle
- Describes the state of the file system's S3 durable data repository, if it is configured with an S3
repository. The lifecycle can have the following values:
CREATING
- The data repository configuration between the FSx file system and the linked S3
data repository is being created. The data repository is unavailable.
AVAILABLE
- The data repository is available for use.
MISCONFIGURED
- Amazon FSx cannot automatically import updates from the S3 bucket until the
data repository configuration is corrected. For more information, see Troubleshooting a Misconfigured linked S3 bucket.
UPDATING
- The data repository is undergoing a customer initiated update and availability may
be impacted.
FAILED
- The data repository is in a terminal state that cannot be recovered.
DataRepositoryLifecycle
public String getLifecycle()
Describes the state of the file system's S3 durable data repository, if it is configured with an S3 repository. The lifecycle can have the following values:
CREATING
- The data repository configuration between the FSx file system and the linked S3 data
repository is being created. The data repository is unavailable.
AVAILABLE
- The data repository is available for use.
MISCONFIGURED
- Amazon FSx cannot automatically import updates from the S3 bucket until the data
repository configuration is corrected. For more information, see Troubleshooting a Misconfigured linked S3 bucket.
UPDATING
- The data repository is undergoing a customer initiated update and availability may be
impacted.
FAILED
- The data repository is in a terminal state that cannot be recovered.
CREATING
- The data repository configuration between the FSx file system and the linked S3
data repository is being created. The data repository is unavailable.
AVAILABLE
- The data repository is available for use.
MISCONFIGURED
- Amazon FSx cannot automatically import updates from the S3 bucket until the
data repository configuration is corrected. For more information, see Troubleshooting a Misconfigured linked S3 bucket.
UPDATING
- The data repository is undergoing a customer initiated update and availability
may be impacted.
FAILED
- The data repository is in a terminal state that cannot be recovered.
DataRepositoryLifecycle
public DataRepositoryConfiguration withLifecycle(String lifecycle)
Describes the state of the file system's S3 durable data repository, if it is configured with an S3 repository. The lifecycle can have the following values:
CREATING
- The data repository configuration between the FSx file system and the linked S3 data
repository is being created. The data repository is unavailable.
AVAILABLE
- The data repository is available for use.
MISCONFIGURED
- Amazon FSx cannot automatically import updates from the S3 bucket until the data
repository configuration is corrected. For more information, see Troubleshooting a Misconfigured linked S3 bucket.
UPDATING
- The data repository is undergoing a customer initiated update and availability may be
impacted.
FAILED
- The data repository is in a terminal state that cannot be recovered.
lifecycle
- Describes the state of the file system's S3 durable data repository, if it is configured with an S3
repository. The lifecycle can have the following values:
CREATING
- The data repository configuration between the FSx file system and the linked S3
data repository is being created. The data repository is unavailable.
AVAILABLE
- The data repository is available for use.
MISCONFIGURED
- Amazon FSx cannot automatically import updates from the S3 bucket until the
data repository configuration is corrected. For more information, see Troubleshooting a Misconfigured linked S3 bucket.
UPDATING
- The data repository is undergoing a customer initiated update and availability may
be impacted.
FAILED
- The data repository is in a terminal state that cannot be recovered.
DataRepositoryLifecycle
public DataRepositoryConfiguration withLifecycle(DataRepositoryLifecycle lifecycle)
Describes the state of the file system's S3 durable data repository, if it is configured with an S3 repository. The lifecycle can have the following values:
CREATING
- The data repository configuration between the FSx file system and the linked S3 data
repository is being created. The data repository is unavailable.
AVAILABLE
- The data repository is available for use.
MISCONFIGURED
- Amazon FSx cannot automatically import updates from the S3 bucket until the data
repository configuration is corrected. For more information, see Troubleshooting a Misconfigured linked S3 bucket.
UPDATING
- The data repository is undergoing a customer initiated update and availability may be
impacted.
FAILED
- The data repository is in a terminal state that cannot be recovered.
lifecycle
- Describes the state of the file system's S3 durable data repository, if it is configured with an S3
repository. The lifecycle can have the following values:
CREATING
- The data repository configuration between the FSx file system and the linked S3
data repository is being created. The data repository is unavailable.
AVAILABLE
- The data repository is available for use.
MISCONFIGURED
- Amazon FSx cannot automatically import updates from the S3 bucket until the
data repository configuration is corrected. For more information, see Troubleshooting a Misconfigured linked S3 bucket.
UPDATING
- The data repository is undergoing a customer initiated update and availability may
be impacted.
FAILED
- The data repository is in a terminal state that cannot be recovered.
DataRepositoryLifecycle
public void setImportPath(String importPath)
The import path to the Amazon S3 bucket (and optional prefix) that you're using as the data repository for your
FSx for Lustre file system, for example s3://import-bucket/optional-prefix
. If a prefix is specified
after the Amazon S3 bucket name, only object keys with that prefix are loaded into the file system.
importPath
- The import path to the Amazon S3 bucket (and optional prefix) that you're using as the data repository for
your FSx for Lustre file system, for example s3://import-bucket/optional-prefix
. If a prefix
is specified after the Amazon S3 bucket name, only object keys with that prefix are loaded into the file
system.public String getImportPath()
The import path to the Amazon S3 bucket (and optional prefix) that you're using as the data repository for your
FSx for Lustre file system, for example s3://import-bucket/optional-prefix
. If a prefix is specified
after the Amazon S3 bucket name, only object keys with that prefix are loaded into the file system.
s3://import-bucket/optional-prefix
. If a
prefix is specified after the Amazon S3 bucket name, only object keys with that prefix are loaded into
the file system.public DataRepositoryConfiguration withImportPath(String importPath)
The import path to the Amazon S3 bucket (and optional prefix) that you're using as the data repository for your
FSx for Lustre file system, for example s3://import-bucket/optional-prefix
. If a prefix is specified
after the Amazon S3 bucket name, only object keys with that prefix are loaded into the file system.
importPath
- The import path to the Amazon S3 bucket (and optional prefix) that you're using as the data repository for
your FSx for Lustre file system, for example s3://import-bucket/optional-prefix
. If a prefix
is specified after the Amazon S3 bucket name, only object keys with that prefix are loaded into the file
system.public void setExportPath(String exportPath)
The export path to the Amazon S3 bucket (and prefix) that you are using to store new and changed Lustre file system files in S3.
exportPath
- The export path to the Amazon S3 bucket (and prefix) that you are using to store new and changed Lustre
file system files in S3.public String getExportPath()
The export path to the Amazon S3 bucket (and prefix) that you are using to store new and changed Lustre file system files in S3.
public DataRepositoryConfiguration withExportPath(String exportPath)
The export path to the Amazon S3 bucket (and prefix) that you are using to store new and changed Lustre file system files in S3.
exportPath
- The export path to the Amazon S3 bucket (and prefix) that you are using to store new and changed Lustre
file system files in S3.public void setImportedFileChunkSize(Integer importedFileChunkSize)
For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system.
The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.
importedFileChunkSize
- For files imported from a data repository, this value determines the stripe count and maximum amount of
data per file (in MiB) stored on a single physical disk. The maximum number of disks that a single file
can be striped across is limited by the total number of disks that make up the file system.
The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.
public Integer getImportedFileChunkSize()
For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system.
The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.
The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.
public DataRepositoryConfiguration withImportedFileChunkSize(Integer importedFileChunkSize)
For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system.
The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.
importedFileChunkSize
- For files imported from a data repository, this value determines the stripe count and maximum amount of
data per file (in MiB) stored on a single physical disk. The maximum number of disks that a single file
can be striped across is limited by the total number of disks that make up the file system.
The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.
public void setAutoImportPolicy(String autoImportPolicy)
Describes the file system's linked S3 data repository's AutoImportPolicy
. The AutoImportPolicy
configures how Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your
linked S3 bucket. AutoImportPolicy
can have the following values:
NONE
- (Default) AutoImport is off. Amazon FSx only updates file and directory listings from the
linked S3 bucket when the file system is created. FSx does not update file and directory listings for any new or
changed objects after choosing this option.
NEW
- AutoImport is on. Amazon FSx automatically imports directory listings of any new objects added
to the linked S3 bucket that do not currently exist in the FSx file system.
NEW_CHANGED
- AutoImport is on. Amazon FSx automatically imports file and directory listings of any
new objects added to the S3 bucket and any existing objects that are changed in the S3 bucket after you choose
this option.
NEW_CHANGED_DELETED
- AutoImport is on. Amazon FSx automatically imports file and directory listings
of any new objects added to the S3 bucket, any existing objects that are changed in the S3 bucket, and any
objects that were deleted in the S3 bucket.
autoImportPolicy
- Describes the file system's linked S3 data repository's AutoImportPolicy
. The
AutoImportPolicy configures how Amazon FSx keeps your file and directory listings up to date as you add or
modify objects in your linked S3 bucket. AutoImportPolicy
can have the following values:
NONE
- (Default) AutoImport is off. Amazon FSx only updates file and directory listings from
the linked S3 bucket when the file system is created. FSx does not update file and directory listings for
any new or changed objects after choosing this option.
NEW
- AutoImport is on. Amazon FSx automatically imports directory listings of any new
objects added to the linked S3 bucket that do not currently exist in the FSx file system.
NEW_CHANGED
- AutoImport is on. Amazon FSx automatically imports file and directory listings
of any new objects added to the S3 bucket and any existing objects that are changed in the S3 bucket after
you choose this option.
NEW_CHANGED_DELETED
- AutoImport is on. Amazon FSx automatically imports file and directory
listings of any new objects added to the S3 bucket, any existing objects that are changed in the S3
bucket, and any objects that were deleted in the S3 bucket.
AutoImportPolicyType
public String getAutoImportPolicy()
Describes the file system's linked S3 data repository's AutoImportPolicy
. The AutoImportPolicy
configures how Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your
linked S3 bucket. AutoImportPolicy
can have the following values:
NONE
- (Default) AutoImport is off. Amazon FSx only updates file and directory listings from the
linked S3 bucket when the file system is created. FSx does not update file and directory listings for any new or
changed objects after choosing this option.
NEW
- AutoImport is on. Amazon FSx automatically imports directory listings of any new objects added
to the linked S3 bucket that do not currently exist in the FSx file system.
NEW_CHANGED
- AutoImport is on. Amazon FSx automatically imports file and directory listings of any
new objects added to the S3 bucket and any existing objects that are changed in the S3 bucket after you choose
this option.
NEW_CHANGED_DELETED
- AutoImport is on. Amazon FSx automatically imports file and directory listings
of any new objects added to the S3 bucket, any existing objects that are changed in the S3 bucket, and any
objects that were deleted in the S3 bucket.
AutoImportPolicy
. The
AutoImportPolicy configures how Amazon FSx keeps your file and directory listings up to date as you add
or modify objects in your linked S3 bucket. AutoImportPolicy
can have the following
values:
NONE
- (Default) AutoImport is off. Amazon FSx only updates file and directory listings from
the linked S3 bucket when the file system is created. FSx does not update file and directory listings for
any new or changed objects after choosing this option.
NEW
- AutoImport is on. Amazon FSx automatically imports directory listings of any new
objects added to the linked S3 bucket that do not currently exist in the FSx file system.
NEW_CHANGED
- AutoImport is on. Amazon FSx automatically imports file and directory listings
of any new objects added to the S3 bucket and any existing objects that are changed in the S3 bucket
after you choose this option.
NEW_CHANGED_DELETED
- AutoImport is on. Amazon FSx automatically imports file and directory
listings of any new objects added to the S3 bucket, any existing objects that are changed in the S3
bucket, and any objects that were deleted in the S3 bucket.
AutoImportPolicyType
public DataRepositoryConfiguration withAutoImportPolicy(String autoImportPolicy)
Describes the file system's linked S3 data repository's AutoImportPolicy
. The AutoImportPolicy
configures how Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your
linked S3 bucket. AutoImportPolicy
can have the following values:
NONE
- (Default) AutoImport is off. Amazon FSx only updates file and directory listings from the
linked S3 bucket when the file system is created. FSx does not update file and directory listings for any new or
changed objects after choosing this option.
NEW
- AutoImport is on. Amazon FSx automatically imports directory listings of any new objects added
to the linked S3 bucket that do not currently exist in the FSx file system.
NEW_CHANGED
- AutoImport is on. Amazon FSx automatically imports file and directory listings of any
new objects added to the S3 bucket and any existing objects that are changed in the S3 bucket after you choose
this option.
NEW_CHANGED_DELETED
- AutoImport is on. Amazon FSx automatically imports file and directory listings
of any new objects added to the S3 bucket, any existing objects that are changed in the S3 bucket, and any
objects that were deleted in the S3 bucket.
autoImportPolicy
- Describes the file system's linked S3 data repository's AutoImportPolicy
. The
AutoImportPolicy configures how Amazon FSx keeps your file and directory listings up to date as you add or
modify objects in your linked S3 bucket. AutoImportPolicy
can have the following values:
NONE
- (Default) AutoImport is off. Amazon FSx only updates file and directory listings from
the linked S3 bucket when the file system is created. FSx does not update file and directory listings for
any new or changed objects after choosing this option.
NEW
- AutoImport is on. Amazon FSx automatically imports directory listings of any new
objects added to the linked S3 bucket that do not currently exist in the FSx file system.
NEW_CHANGED
- AutoImport is on. Amazon FSx automatically imports file and directory listings
of any new objects added to the S3 bucket and any existing objects that are changed in the S3 bucket after
you choose this option.
NEW_CHANGED_DELETED
- AutoImport is on. Amazon FSx automatically imports file and directory
listings of any new objects added to the S3 bucket, any existing objects that are changed in the S3
bucket, and any objects that were deleted in the S3 bucket.
AutoImportPolicyType
public DataRepositoryConfiguration withAutoImportPolicy(AutoImportPolicyType autoImportPolicy)
Describes the file system's linked S3 data repository's AutoImportPolicy
. The AutoImportPolicy
configures how Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your
linked S3 bucket. AutoImportPolicy
can have the following values:
NONE
- (Default) AutoImport is off. Amazon FSx only updates file and directory listings from the
linked S3 bucket when the file system is created. FSx does not update file and directory listings for any new or
changed objects after choosing this option.
NEW
- AutoImport is on. Amazon FSx automatically imports directory listings of any new objects added
to the linked S3 bucket that do not currently exist in the FSx file system.
NEW_CHANGED
- AutoImport is on. Amazon FSx automatically imports file and directory listings of any
new objects added to the S3 bucket and any existing objects that are changed in the S3 bucket after you choose
this option.
NEW_CHANGED_DELETED
- AutoImport is on. Amazon FSx automatically imports file and directory listings
of any new objects added to the S3 bucket, any existing objects that are changed in the S3 bucket, and any
objects that were deleted in the S3 bucket.
autoImportPolicy
- Describes the file system's linked S3 data repository's AutoImportPolicy
. The
AutoImportPolicy configures how Amazon FSx keeps your file and directory listings up to date as you add or
modify objects in your linked S3 bucket. AutoImportPolicy
can have the following values:
NONE
- (Default) AutoImport is off. Amazon FSx only updates file and directory listings from
the linked S3 bucket when the file system is created. FSx does not update file and directory listings for
any new or changed objects after choosing this option.
NEW
- AutoImport is on. Amazon FSx automatically imports directory listings of any new
objects added to the linked S3 bucket that do not currently exist in the FSx file system.
NEW_CHANGED
- AutoImport is on. Amazon FSx automatically imports file and directory listings
of any new objects added to the S3 bucket and any existing objects that are changed in the S3 bucket after
you choose this option.
NEW_CHANGED_DELETED
- AutoImport is on. Amazon FSx automatically imports file and directory
listings of any new objects added to the S3 bucket, any existing objects that are changed in the S3
bucket, and any objects that were deleted in the S3 bucket.
AutoImportPolicyType
public void setFailureDetails(DataRepositoryFailureDetails failureDetails)
failureDetails
- public DataRepositoryFailureDetails getFailureDetails()
public DataRepositoryConfiguration withFailureDetails(DataRepositoryFailureDetails failureDetails)
failureDetails
- public String toString()
toString
in class Object
Object.toString()
public DataRepositoryConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.