Class LustreFileSystemConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.fsx.model.LustreFileSystemConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LustreFileSystemConfiguration.Builder,LustreFileSystemConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class LustreFileSystemConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LustreFileSystemConfiguration.Builder,LustreFileSystemConfiguration>
The configuration for the Amazon FSx for Lustre file system.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLustreFileSystemConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerautomaticBackupRetentionDays()Returns the value of the AutomaticBackupRetentionDays property for this object.static LustreFileSystemConfiguration.Builderbuilder()BooleancopyTagsToBackups()A boolean flag indicating whether tags on the file system are copied to backups.StringdailyAutomaticBackupStartTime()Returns the value of the DailyAutomaticBackupStartTime property for this object.DataCompressionTypedataCompressionType()The data compression configuration for the file system.StringdataCompressionTypeAsString()The data compression configuration for the file system.DataRepositoryConfigurationdataRepositoryConfiguration()Returns the value of the DataRepositoryConfiguration property for this object.LustreDeploymentTypedeploymentType()The deployment type of the FSx for Lustre file system.StringdeploymentTypeAsString()The deployment type of the FSx for Lustre file system.DriveCacheTypedriveCacheType()The type of drive cache used byPERSISTENT_1file systems that are provisioned with HDD storage devices.StringdriveCacheTypeAsString()The type of drive cache used byPERSISTENT_1file systems that are provisioned with HDD storage devices.BooleanefaEnabled()Specifies whether Elastic Fabric Adapter (EFA) and GPUDirect Storage (GDS) support is enabled for the Amazon FSx for Lustre file system.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LustreLogConfigurationlogConfiguration()The Lustre logging configuration.FileSystemLustreMetadataConfigurationmetadataConfiguration()The Lustre metadata performance configuration for an Amazon FSx for Lustre file system using aPERSISTENT_2deployment type.StringmountName()You use theMountNamevalue when mounting the file system.IntegerperUnitStorageThroughput()Per unit storage throughput represents the megabytes per second of read or write throughput per 1 tebibyte of storage provisioned.LustreRootSquashConfigurationrootSquashConfiguration()The Lustre root squash configuration for an Amazon FSx for Lustre file system.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends LustreFileSystemConfiguration.Builder>serializableBuilderClass()LustreFileSystemConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringweeklyMaintenanceStartTime()The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
weeklyMaintenanceStartTime
public final String weeklyMaintenanceStartTime()
The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone. Here,
dis the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.- Returns:
- The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone. Here,
dis the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.
-
dataRepositoryConfiguration
public final DataRepositoryConfiguration dataRepositoryConfiguration()
Returns the value of the DataRepositoryConfiguration property for this object.- Returns:
- The value of the DataRepositoryConfiguration property for this object.
-
deploymentType
public final LustreDeploymentType deploymentType()
The deployment type of the FSx for Lustre file system. Scratch deployment type is designed for temporary storage and shorter-term processing of data.
SCRATCH_1andSCRATCH_2deployment types are best suited for when you need temporary storage and shorter-term processing of data. TheSCRATCH_2deployment type provides in-transit encryption of data and higher burst throughput capacity thanSCRATCH_1.The
PERSISTENT_1andPERSISTENT_2deployment type is used for longer-term storage and workloads and encryption of data in transit.PERSISTENT_2offers higherPerUnitStorageThroughput(up to 1000 MB/s/TiB) along with a lower minimum storage capacity requirement (600 GiB). To learn more about FSx for Lustre deployment types, see FSx for Lustre deployment options.The default is
SCRATCH_1.If the service returns an enum value that is not available in the current SDK version,
deploymentTypewill returnLustreDeploymentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentTypeAsString().- Returns:
- The deployment type of the FSx for Lustre file system. Scratch deployment type is designed for
temporary storage and shorter-term processing of data.
SCRATCH_1andSCRATCH_2deployment types are best suited for when you need temporary storage and shorter-term processing of data. TheSCRATCH_2deployment type provides in-transit encryption of data and higher burst throughput capacity thanSCRATCH_1.The
PERSISTENT_1andPERSISTENT_2deployment type is used for longer-term storage and workloads and encryption of data in transit.PERSISTENT_2offers higherPerUnitStorageThroughput(up to 1000 MB/s/TiB) along with a lower minimum storage capacity requirement (600 GiB). To learn more about FSx for Lustre deployment types, see FSx for Lustre deployment options.The default is
SCRATCH_1. - See Also:
LustreDeploymentType
-
deploymentTypeAsString
public final String deploymentTypeAsString()
The deployment type of the FSx for Lustre file system. Scratch deployment type is designed for temporary storage and shorter-term processing of data.
SCRATCH_1andSCRATCH_2deployment types are best suited for when you need temporary storage and shorter-term processing of data. TheSCRATCH_2deployment type provides in-transit encryption of data and higher burst throughput capacity thanSCRATCH_1.The
PERSISTENT_1andPERSISTENT_2deployment type is used for longer-term storage and workloads and encryption of data in transit.PERSISTENT_2offers higherPerUnitStorageThroughput(up to 1000 MB/s/TiB) along with a lower minimum storage capacity requirement (600 GiB). To learn more about FSx for Lustre deployment types, see FSx for Lustre deployment options.The default is
SCRATCH_1.If the service returns an enum value that is not available in the current SDK version,
deploymentTypewill returnLustreDeploymentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentTypeAsString().- Returns:
- The deployment type of the FSx for Lustre file system. Scratch deployment type is designed for
temporary storage and shorter-term processing of data.
SCRATCH_1andSCRATCH_2deployment types are best suited for when you need temporary storage and shorter-term processing of data. TheSCRATCH_2deployment type provides in-transit encryption of data and higher burst throughput capacity thanSCRATCH_1.The
PERSISTENT_1andPERSISTENT_2deployment type is used for longer-term storage and workloads and encryption of data in transit.PERSISTENT_2offers higherPerUnitStorageThroughput(up to 1000 MB/s/TiB) along with a lower minimum storage capacity requirement (600 GiB). To learn more about FSx for Lustre deployment types, see FSx for Lustre deployment options.The default is
SCRATCH_1. - See Also:
LustreDeploymentType
-
perUnitStorageThroughput
public final Integer perUnitStorageThroughput()
Per unit storage throughput represents the megabytes per second of read or write throughput per 1 tebibyte of storage provisioned. File system throughput capacity is equal to Storage capacity (TiB) * PerUnitStorageThroughput (MB/s/TiB). This option is only valid for
PERSISTENT_1andPERSISTENT_2deployment types.Valid values:
-
For
PERSISTENT_1SSD storage: 50, 100, 200. -
For
PERSISTENT_1HDD storage: 12, 40. -
For
PERSISTENT_2SSD storage: 125, 250, 500, 1000.
- Returns:
- Per unit storage throughput represents the megabytes per second of read or write throughput per 1
tebibyte of storage provisioned. File system throughput capacity is equal to Storage capacity (TiB) *
PerUnitStorageThroughput (MB/s/TiB). This option is only valid for
PERSISTENT_1andPERSISTENT_2deployment types.Valid values:
-
For
PERSISTENT_1SSD storage: 50, 100, 200. -
For
PERSISTENT_1HDD storage: 12, 40. -
For
PERSISTENT_2SSD storage: 125, 250, 500, 1000.
-
-
-
mountName
public final String mountName()
You use the
MountNamevalue when mounting the file system.For the
SCRATCH_1deployment type, this value is always "fsx". ForSCRATCH_2,PERSISTENT_1, andPERSISTENT_2deployment types, this value is a string that is unique within an Amazon Web Services Region.- Returns:
- You use the
MountNamevalue when mounting the file system.For the
SCRATCH_1deployment type, this value is always "fsx". ForSCRATCH_2,PERSISTENT_1, andPERSISTENT_2deployment types, this value is a string that is unique within an Amazon Web Services Region.
-
dailyAutomaticBackupStartTime
public final String dailyAutomaticBackupStartTime()
Returns the value of the DailyAutomaticBackupStartTime property for this object.- Returns:
- The value of the DailyAutomaticBackupStartTime property for this object.
-
automaticBackupRetentionDays
public final Integer automaticBackupRetentionDays()
Returns the value of the AutomaticBackupRetentionDays property for this object.- Returns:
- The value of the AutomaticBackupRetentionDays property for this object.
-
copyTagsToBackups
public final Boolean copyTagsToBackups()
A boolean flag indicating whether tags on the file system are copied to backups. If it's set to true, all tags on the file system are copied to all automatic backups and any user-initiated backups where the user doesn't specify any tags. If this value is true, and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the file system, regardless of this value. (Default = false)
- Returns:
- A boolean flag indicating whether tags on the file system are copied to backups. If it's set to true, all tags on the file system are copied to all automatic backups and any user-initiated backups where the user doesn't specify any tags. If this value is true, and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the file system, regardless of this value. (Default = false)
-
driveCacheType
public final DriveCacheType driveCacheType()
The type of drive cache used by
PERSISTENT_1file systems that are provisioned with HDD storage devices. This parameter is required whenStorageTypeis HDD. When set toREADthe file system has an SSD storage cache that is sized to 20% of the file system's storage capacity. This improves the performance for frequently accessed files by caching up to 20% of the total storage capacity.This parameter is required when
StorageTypeis set to HDD.If the service returns an enum value that is not available in the current SDK version,
driveCacheTypewill returnDriveCacheType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdriveCacheTypeAsString().- Returns:
- The type of drive cache used by
PERSISTENT_1file systems that are provisioned with HDD storage devices. This parameter is required whenStorageTypeis HDD. When set toREADthe file system has an SSD storage cache that is sized to 20% of the file system's storage capacity. This improves the performance for frequently accessed files by caching up to 20% of the total storage capacity.This parameter is required when
StorageTypeis set to HDD. - See Also:
DriveCacheType
-
driveCacheTypeAsString
public final String driveCacheTypeAsString()
The type of drive cache used by
PERSISTENT_1file systems that are provisioned with HDD storage devices. This parameter is required whenStorageTypeis HDD. When set toREADthe file system has an SSD storage cache that is sized to 20% of the file system's storage capacity. This improves the performance for frequently accessed files by caching up to 20% of the total storage capacity.This parameter is required when
StorageTypeis set to HDD.If the service returns an enum value that is not available in the current SDK version,
driveCacheTypewill returnDriveCacheType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdriveCacheTypeAsString().- Returns:
- The type of drive cache used by
PERSISTENT_1file systems that are provisioned with HDD storage devices. This parameter is required whenStorageTypeis HDD. When set toREADthe file system has an SSD storage cache that is sized to 20% of the file system's storage capacity. This improves the performance for frequently accessed files by caching up to 20% of the total storage capacity.This parameter is required when
StorageTypeis set to HDD. - See Also:
DriveCacheType
-
dataCompressionType
public final DataCompressionType dataCompressionType()
The data compression configuration for the file system.
DataCompressionTypecan have the following values:-
NONE- Data compression is turned off for the file system. -
LZ4- Data compression is turned on with the LZ4 algorithm.
For more information, see Lustre data compression.
If the service returns an enum value that is not available in the current SDK version,
dataCompressionTypewill returnDataCompressionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataCompressionTypeAsString().- Returns:
- The data compression configuration for the file system.
DataCompressionTypecan have the following values:-
NONE- Data compression is turned off for the file system. -
LZ4- Data compression is turned on with the LZ4 algorithm.
For more information, see Lustre data compression.
-
- See Also:
DataCompressionType
-
-
dataCompressionTypeAsString
public final String dataCompressionTypeAsString()
The data compression configuration for the file system.
DataCompressionTypecan have the following values:-
NONE- Data compression is turned off for the file system. -
LZ4- Data compression is turned on with the LZ4 algorithm.
For more information, see Lustre data compression.
If the service returns an enum value that is not available in the current SDK version,
dataCompressionTypewill returnDataCompressionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataCompressionTypeAsString().- Returns:
- The data compression configuration for the file system.
DataCompressionTypecan have the following values:-
NONE- Data compression is turned off for the file system. -
LZ4- Data compression is turned on with the LZ4 algorithm.
For more information, see Lustre data compression.
-
- See Also:
DataCompressionType
-
-
logConfiguration
public final LustreLogConfiguration logConfiguration()
The Lustre logging configuration. Lustre logging writes the enabled log events for your file system to Amazon CloudWatch Logs.
- Returns:
- The Lustre logging configuration. Lustre logging writes the enabled log events for your file system to Amazon CloudWatch Logs.
-
rootSquashConfiguration
public final LustreRootSquashConfiguration rootSquashConfiguration()
The Lustre root squash configuration for an Amazon FSx for Lustre file system. When enabled, root squash restricts root-level access from clients that try to access your file system as a root user.
- Returns:
- The Lustre root squash configuration for an Amazon FSx for Lustre file system. When enabled, root squash restricts root-level access from clients that try to access your file system as a root user.
-
metadataConfiguration
public final FileSystemLustreMetadataConfiguration metadataConfiguration()
The Lustre metadata performance configuration for an Amazon FSx for Lustre file system using a
PERSISTENT_2deployment type.- Returns:
- The Lustre metadata performance configuration for an Amazon FSx for Lustre file system using a
PERSISTENT_2deployment type.
-
efaEnabled
public final Boolean efaEnabled()
Specifies whether Elastic Fabric Adapter (EFA) and GPUDirect Storage (GDS) support is enabled for the Amazon FSx for Lustre file system.
- Returns:
- Specifies whether Elastic Fabric Adapter (EFA) and GPUDirect Storage (GDS) support is enabled for the Amazon FSx for Lustre file system.
-
toBuilder
public LustreFileSystemConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LustreFileSystemConfiguration.Builder,LustreFileSystemConfiguration>
-
builder
public static LustreFileSystemConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends LustreFileSystemConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-