Interface UpdateFileSystemLustreConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<UpdateFileSystemLustreConfiguration.Builder,UpdateFileSystemLustreConfiguration>, SdkBuilder<UpdateFileSystemLustreConfiguration.Builder,UpdateFileSystemLustreConfiguration>, SdkPojo
Enclosing class:
UpdateFileSystemLustreConfiguration

public static interface UpdateFileSystemLustreConfiguration.Builder extends SdkPojo, CopyableBuilder<UpdateFileSystemLustreConfiguration.Builder,UpdateFileSystemLustreConfiguration>
  • Method Details

    • weeklyMaintenanceStartTime

      UpdateFileSystemLustreConfiguration.Builder weeklyMaintenanceStartTime(String weeklyMaintenanceStartTime)

      (Optional) The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone. d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

      Parameters:
      weeklyMaintenanceStartTime - (Optional) The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone. 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.
    • dailyAutomaticBackupStartTime

      UpdateFileSystemLustreConfiguration.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

      UpdateFileSystemLustreConfiguration.Builder automaticBackupRetentionDays(Integer automaticBackupRetentionDays)

      The number of days to retain automatic backups. Setting this property to 0 disables automatic backups. You can retain automatic backups for a maximum of 90 days. The default is 0.

      Parameters:
      automaticBackupRetentionDays - The number of days to retain automatic backups. Setting this property to 0 disables automatic backups. You can retain automatic backups for a maximum of 90 days. The default is 0.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoImportPolicy

      UpdateFileSystemLustreConfiguration.Builder autoImportPolicy(String autoImportPolicy)

      (Optional) When you create your file system, your existing S3 objects appear as file and directory listings. Use this property to choose how Amazon FSx keeps your file and directory listing 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 the file and directory listing 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.

      This parameter is not supported for file systems with a data repository association.

      Parameters:
      autoImportPolicy - (Optional) When you create your file system, your existing S3 objects appear as file and directory listings. Use this property to choose how Amazon FSx keeps your file and directory listing 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 the file and directory listing 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.

      This parameter is not supported for file systems with a data repository association.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • autoImportPolicy

      (Optional) When you create your file system, your existing S3 objects appear as file and directory listings. Use this property to choose how Amazon FSx keeps your file and directory listing 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 the file and directory listing 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.

      This parameter is not supported for file systems with a data repository association.

      Parameters:
      autoImportPolicy - (Optional) When you create your file system, your existing S3 objects appear as file and directory listings. Use this property to choose how Amazon FSx keeps your file and directory listing 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 the file and directory listing 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.

      This parameter is not supported for file systems with a data repository association.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dataCompressionType

      UpdateFileSystemLustreConfiguration.Builder dataCompressionType(String dataCompressionType)

      Sets 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.

      If you don't use DataCompressionType, the file system retains its current data compression configuration.

      For more information, see Lustre data compression.

      Parameters:
      dataCompressionType - Sets 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.

      If you don't use DataCompressionType, the file system retains its current data compression configuration.

      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

      UpdateFileSystemLustreConfiguration.Builder dataCompressionType(DataCompressionType dataCompressionType)

      Sets 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.

      If you don't use DataCompressionType, the file system retains its current data compression configuration.

      For more information, see Lustre data compression.

      Parameters:
      dataCompressionType - Sets 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.

      If you don't use DataCompressionType, the file system retains its current data compression configuration.

      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 used when updating an Amazon FSx for Lustre file system. When logging is enabled, Lustre logs error and warning events for data repositories associated with your file system to Amazon CloudWatch Logs.

      Parameters:
      logConfiguration - The Lustre logging configuration used when updating an Amazon FSx for Lustre file system. When logging is enabled, Lustre logs error and warning events for data repositories associated with your file system to Amazon CloudWatch Logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logConfiguration

      The Lustre logging configuration used when updating an Amazon FSx for Lustre file system. When logging is enabled, Lustre logs error and warning events for data repositories associated with your file system to Amazon CloudWatch Logs.

      This is a convenience method that creates an instance of the LustreLogCreateConfiguration.Builder avoiding the need to create one manually via LustreLogCreateConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to logConfiguration(LustreLogCreateConfiguration).

      Parameters:
      logConfiguration - a consumer that will call methods on LustreLogCreateConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • rootSquashConfiguration

      UpdateFileSystemLustreConfiguration.Builder rootSquashConfiguration(LustreRootSquashConfiguration rootSquashConfiguration)

      The Lustre root squash configuration used when updating 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 used when updating 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 UpdateFileSystemLustreConfiguration.Builder rootSquashConfiguration(Consumer<LustreRootSquashConfiguration.Builder> rootSquashConfiguration)

      The Lustre root squash configuration used when updating 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 the LustreRootSquashConfiguration.Builder avoiding the need to create one manually via LustreRootSquashConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to rootSquashConfiguration(LustreRootSquashConfiguration).

      Parameters:
      rootSquashConfiguration - a consumer that will call methods on LustreRootSquashConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • perUnitStorageThroughput

      UpdateFileSystemLustreConfiguration.Builder perUnitStorageThroughput(Integer perUnitStorageThroughput)

      The throughput of an Amazon FSx for Lustre Persistent SSD-based file system, measured in megabytes per second per tebibyte (MB/s/TiB). You can increase or decrease your file system's throughput. Valid values depend on the deployment type of the file system, as follows:

      • For PERSISTENT_1 SSD-based deployment types, valid values are 50, 100, and 200 MB/s/TiB.

      • For PERSISTENT_2 SSD-based deployment types, valid values are 125, 250, 500, and 1000 MB/s/TiB.

      For more information, see Managing throughput capacity.

      Parameters:
      perUnitStorageThroughput - The throughput of an Amazon FSx for Lustre Persistent SSD-based file system, measured in megabytes per second per tebibyte (MB/s/TiB). You can increase or decrease your file system's throughput. Valid values depend on the deployment type of the file system, as follows:

      • For PERSISTENT_1 SSD-based deployment types, valid values are 50, 100, and 200 MB/s/TiB.

      • For PERSISTENT_2 SSD-based deployment types, valid values are 125, 250, 500, and 1000 MB/s/TiB.

      For more information, see Managing throughput capacity.

      Returns:
      Returns a reference to this object so that method calls can be chained together.