Class DataRepositoryConfiguration
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<DataRepositoryConfiguration.Builder,
DataRepositoryConfiguration>
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 .
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal AutoImportPolicyType
Describes the file system's linked S3 data repository'sAutoImportPolicy
.final String
Describes the file system's linked S3 data repository'sAutoImportPolicy
.builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
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.Returns the value of the FailureDetails property for this object.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Integer
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.final String
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 examples3://import-bucket/optional-prefix
.final DataRepositoryLifecycle
Describes the state of the file system's S3 durable data repository, if it is configured with an S3 repository.final String
Describes the state of the file system's S3 durable data repository, if it is configured with an S3 repository.static Class
<? extends DataRepositoryConfiguration.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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.
If the service returns an enum value that is not available in the current SDK version,
lifecycle
will returnDataRepositoryLifecycle.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromlifecycleAsString()
.- Returns:
- 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.
-
- See Also:
-
-
lifecycleAsString
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.
If the service returns an enum value that is not available in the current SDK version,
lifecycle
will returnDataRepositoryLifecycle.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromlifecycleAsString()
.- Returns:
- 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.
-
- See Also:
-
-
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.- Returns:
- 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.
-
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.
- Returns:
- 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.
-
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.
- Returns:
- 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.
-
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.
If the service returns an enum value that is not available in the current SDK version,
autoImportPolicy
will returnAutoImportPolicyType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromautoImportPolicyAsString()
.- Returns:
- 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.
-
- See Also:
-
-
autoImportPolicyAsString
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.
If the service returns an enum value that is not available in the current SDK version,
autoImportPolicy
will returnAutoImportPolicyType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromautoImportPolicyAsString()
.- Returns:
- 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.
-
- See Also:
-
-
failureDetails
Returns the value of the FailureDetails property for this object.- Returns:
- The value of the FailureDetails property for this object.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<DataRepositoryConfiguration.Builder,
DataRepositoryConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-