Interface LustreFileSystemConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LustreFileSystemConfiguration.Builder,
,LustreFileSystemConfiguration> SdkBuilder<LustreFileSystemConfiguration.Builder,
,LustreFileSystemConfiguration> SdkPojo
- Enclosing class:
LustreFileSystemConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionautomaticBackupRetentionDays
(Integer automaticBackupRetentionDays) Sets the value of the AutomaticBackupRetentionDays property for this object.copyTagsToBackups
(Boolean copyTagsToBackups) A boolean flag indicating whether tags on the file system are copied to backups.dailyAutomaticBackupStartTime
(String dailyAutomaticBackupStartTime) Sets the value of the DailyAutomaticBackupStartTime property for this object.dataCompressionType
(String dataCompressionType) The data compression configuration for the file system.dataCompressionType
(DataCompressionType dataCompressionType) The data compression configuration for the file system.dataRepositoryConfiguration
(Consumer<DataRepositoryConfiguration.Builder> dataRepositoryConfiguration) Sets the value of the DataRepositoryConfiguration property for this object.dataRepositoryConfiguration
(DataRepositoryConfiguration dataRepositoryConfiguration) Sets the value of the DataRepositoryConfiguration property for this object.deploymentType
(String deploymentType) The deployment type of the FSx for Lustre file system.deploymentType
(LustreDeploymentType deploymentType) The deployment type of the FSx for Lustre file system.driveCacheType
(String driveCacheType) The type of drive cache used byPERSISTENT_1
file systems that are provisioned with HDD storage devices.driveCacheType
(DriveCacheType driveCacheType) The type of drive cache used byPERSISTENT_1
file systems that are provisioned with HDD storage devices.logConfiguration
(Consumer<LustreLogConfiguration.Builder> logConfiguration) The Lustre logging configuration.logConfiguration
(LustreLogConfiguration logConfiguration) The Lustre logging configuration.metadataConfiguration
(Consumer<FileSystemLustreMetadataConfiguration.Builder> metadataConfiguration) The Lustre metadata performance configuration for an Amazon FSx for Lustre file system using aPERSISTENT_2
deployment type.metadataConfiguration
(FileSystemLustreMetadataConfiguration metadataConfiguration) The Lustre metadata performance configuration for an Amazon FSx for Lustre file system using aPERSISTENT_2
deployment type.You use theMountName
value when mounting the file system.perUnitStorageThroughput
(Integer perUnitStorageThroughput) Per unit storage throughput represents the megabytes per second of read or write throughput per 1 tebibyte of storage provisioned.rootSquashConfiguration
(Consumer<LustreRootSquashConfiguration.Builder> rootSquashConfiguration) The Lustre root squash configuration for an Amazon FSx for Lustre file system.rootSquashConfiguration
(LustreRootSquashConfiguration rootSquashConfiguration) The Lustre root squash configuration for an Amazon FSx for Lustre file system.weeklyMaintenanceStartTime
(String weeklyMaintenanceStartTime) The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
weeklyMaintenanceStartTime
The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone. Here,
d
is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.- Parameters:
weeklyMaintenanceStartTime
- The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone. Here,d
is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataRepositoryConfiguration
LustreFileSystemConfiguration.Builder dataRepositoryConfiguration(DataRepositoryConfiguration dataRepositoryConfiguration) Sets the value of the DataRepositoryConfiguration property for this object.- Parameters:
dataRepositoryConfiguration
- The new value for the DataRepositoryConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataRepositoryConfiguration
default LustreFileSystemConfiguration.Builder dataRepositoryConfiguration(Consumer<DataRepositoryConfiguration.Builder> dataRepositoryConfiguration) Sets the value of the DataRepositoryConfiguration property for this object. This is a convenience method that creates an instance of theDataRepositoryConfiguration.Builder
avoiding the need to create one manually viaDataRepositoryConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataRepositoryConfiguration(DataRepositoryConfiguration)
.- Parameters:
dataRepositoryConfiguration
- a consumer that will call methods onDataRepositoryConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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_1
andSCRATCH_2
deployment types are best suited for when you need temporary storage and shorter-term processing of data. TheSCRATCH_2
deployment type provides in-transit encryption of data and higher burst throughput capacity thanSCRATCH_1
.The
PERSISTENT_1
andPERSISTENT_2
deployment type is used for longer-term storage and workloads and encryption of data in transit.PERSISTENT_2
offers 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
.- Parameters:
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_1
andSCRATCH_2
deployment types are best suited for when you need temporary storage and shorter-term processing of data. TheSCRATCH_2
deployment type provides in-transit encryption of data and higher burst throughput capacity thanSCRATCH_1
.The
PERSISTENT_1
andPERSISTENT_2
deployment type is used for longer-term storage and workloads and encryption of data in transit.PERSISTENT_2
offers 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
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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_1
andSCRATCH_2
deployment types are best suited for when you need temporary storage and shorter-term processing of data. TheSCRATCH_2
deployment type provides in-transit encryption of data and higher burst throughput capacity thanSCRATCH_1
.The
PERSISTENT_1
andPERSISTENT_2
deployment type is used for longer-term storage and workloads and encryption of data in transit.PERSISTENT_2
offers 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
.- Parameters:
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_1
andSCRATCH_2
deployment types are best suited for when you need temporary storage and shorter-term processing of data. TheSCRATCH_2
deployment type provides in-transit encryption of data and higher burst throughput capacity thanSCRATCH_1
.The
PERSISTENT_1
andPERSISTENT_2
deployment type is used for longer-term storage and workloads and encryption of data in transit.PERSISTENT_2
offers 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
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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_1
andPERSISTENT_2
deployment types.Valid values:
-
For
PERSISTENT_1
SSD storage: 50, 100, 200. -
For
PERSISTENT_1
HDD storage: 12, 40. -
For
PERSISTENT_2
SSD storage: 125, 250, 500, 1000.
- Parameters:
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 forPERSISTENT_1
andPERSISTENT_2
deployment types.Valid values:
-
For
PERSISTENT_1
SSD storage: 50, 100, 200. -
For
PERSISTENT_1
HDD storage: 12, 40. -
For
PERSISTENT_2
SSD storage: 125, 250, 500, 1000.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
mountName
You use the
MountName
value when mounting the file system.For the
SCRATCH_1
deployment type, this value is always "fsx
". ForSCRATCH_2
,PERSISTENT_1
, andPERSISTENT_2
deployment types, this value is a string that is unique within an Amazon Web Services Region.- Parameters:
mountName
- You use theMountName
value when mounting the file system.For the
SCRATCH_1
deployment type, this value is always "fsx
". ForSCRATCH_2
,PERSISTENT_1
, andPERSISTENT_2
deployment types, this value is a string that is unique within an Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dailyAutomaticBackupStartTime
LustreFileSystemConfiguration.Builder dailyAutomaticBackupStartTime(String dailyAutomaticBackupStartTime) Sets the value of the DailyAutomaticBackupStartTime property for this object.- Parameters:
dailyAutomaticBackupStartTime
- The new value for the DailyAutomaticBackupStartTime property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automaticBackupRetentionDays
LustreFileSystemConfiguration.Builder automaticBackupRetentionDays(Integer automaticBackupRetentionDays) Sets the value of the AutomaticBackupRetentionDays property for this object.- Parameters:
automaticBackupRetentionDays
- The new value for the AutomaticBackupRetentionDays property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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)
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
driveCacheType
The type of drive cache used by
PERSISTENT_1
file systems that are provisioned with HDD storage devices. This parameter is required whenStorageType
is HDD. When set toREAD
the 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
StorageType
is set to HDD.- Parameters:
driveCacheType
- The type of drive cache used byPERSISTENT_1
file systems that are provisioned with HDD storage devices. This parameter is required whenStorageType
is HDD. When set toREAD
the 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
StorageType
is set to HDD.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
driveCacheType
The type of drive cache used by
PERSISTENT_1
file systems that are provisioned with HDD storage devices. This parameter is required whenStorageType
is HDD. When set toREAD
the 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
StorageType
is set to HDD.- Parameters:
driveCacheType
- The type of drive cache used byPERSISTENT_1
file systems that are provisioned with HDD storage devices. This parameter is required whenStorageType
is HDD. When set toREAD
the 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
StorageType
is set to HDD.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataCompressionType
The data compression configuration for the file system.
DataCompressionType
can 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.
- Parameters:
dataCompressionType
- The data compression configuration for the file system.DataCompressionType
can 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
dataCompressionType
The data compression configuration for the file system.
DataCompressionType
can 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.
- Parameters:
dataCompressionType
- The data compression configuration for the file system.DataCompressionType
can 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
logConfiguration
The Lustre logging configuration. Lustre logging writes the enabled log events for your file system to Amazon CloudWatch Logs.
- Parameters:
logConfiguration
- The Lustre logging configuration. Lustre logging writes the enabled log events for your file system to Amazon CloudWatch Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfiguration
default LustreFileSystemConfiguration.Builder logConfiguration(Consumer<LustreLogConfiguration.Builder> logConfiguration) The Lustre logging configuration. Lustre logging writes the enabled log events for your file system to Amazon CloudWatch Logs.
This is a convenience method that creates an instance of theLustreLogConfiguration.Builder
avoiding the need to create one manually viaLustreLogConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologConfiguration(LustreLogConfiguration)
.- Parameters:
logConfiguration
- a consumer that will call methods onLustreLogConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rootSquashConfiguration
LustreFileSystemConfiguration.Builder rootSquashConfiguration(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
rootSquashConfiguration
default LustreFileSystemConfiguration.Builder rootSquashConfiguration(Consumer<LustreRootSquashConfiguration.Builder> 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.
This is a convenience method that creates an instance of theLustreRootSquashConfiguration.Builder
avoiding the need to create one manually viaLustreRootSquashConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torootSquashConfiguration(LustreRootSquashConfiguration)
.- Parameters:
rootSquashConfiguration
- a consumer that will call methods onLustreRootSquashConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metadataConfiguration
LustreFileSystemConfiguration.Builder metadataConfiguration(FileSystemLustreMetadataConfiguration metadataConfiguration) The Lustre metadata performance configuration for an Amazon FSx for Lustre file system using a
PERSISTENT_2
deployment type.- Parameters:
metadataConfiguration
- The Lustre metadata performance configuration for an Amazon FSx for Lustre file system using aPERSISTENT_2
deployment type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataConfiguration
default LustreFileSystemConfiguration.Builder metadataConfiguration(Consumer<FileSystemLustreMetadataConfiguration.Builder> metadataConfiguration) The Lustre metadata performance configuration for an Amazon FSx for Lustre file system using a
This is a convenience method that creates an instance of thePERSISTENT_2
deployment type.FileSystemLustreMetadataConfiguration.Builder
avoiding the need to create one manually viaFileSystemLustreMetadataConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometadataConfiguration(FileSystemLustreMetadataConfiguration)
.- Parameters:
metadataConfiguration
- a consumer that will call methods onFileSystemLustreMetadataConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-