Interface UpdateFileSystemRequest.Builder

  • Method Details

    • fileSystemId

      UpdateFileSystemRequest.Builder fileSystemId(String fileSystemId)

      The ID of the file system that you are updating.

      Parameters:
      fileSystemId - The ID of the file system that you are updating.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientRequestToken

      UpdateFileSystemRequest.Builder clientRequestToken(String clientRequestToken)

      A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent updates. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

      Parameters:
      clientRequestToken - A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent updates. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageCapacity

      UpdateFileSystemRequest.Builder storageCapacity(Integer storageCapacity)

      Use this parameter to increase the storage capacity of an FSx for Windows File Server, FSx for Lustre, FSx for OpenZFS, or FSx for ONTAP file system. For second-generation FSx for ONTAP file systems, you can also decrease the storage capacity. Specifies the storage capacity target value, in GiB, for the file system that you're updating.

      You can't make a storage capacity increase request if there is an existing storage capacity increase request in progress.

      For Lustre file systems, the storage capacity target value can be the following:

      • For SCRATCH_2, PERSISTENT_1, and PERSISTENT_2 SSD deployment types, valid values are in multiples of 2400 GiB. The value must be greater than the current storage capacity.

      • For PERSISTENT HDD file systems, valid values are multiples of 6000 GiB for 12-MBps throughput per TiB file systems and multiples of 1800 GiB for 40-MBps throughput per TiB file systems. The values must be greater than the current storage capacity.

      • For SCRATCH_1 file systems, you can't increase the storage capacity.

      For more information, see Managing storage and throughput capacity in the FSx for Lustre User Guide.

      For FSx for OpenZFS file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. For more information, see Managing storage capacity in the FSx for OpenZFS User Guide.

      For Windows file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. To increase storage capacity, the file system must have at least 16 MBps of throughput capacity. For more information, see Managing storage capacity in the Amazon FSxfor Windows File Server User Guide.

      For ONTAP file systems, when increasing storage capacity, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. When decreasing storage capacity on second-generation file systems, the target value must be at least 9 percent smaller than the current SSD storage capacity. For more information, see File system storage capacity and IOPS in the Amazon FSx for NetApp ONTAP User Guide.

      Parameters:
      storageCapacity - Use this parameter to increase the storage capacity of an FSx for Windows File Server, FSx for Lustre, FSx for OpenZFS, or FSx for ONTAP file system. For second-generation FSx for ONTAP file systems, you can also decrease the storage capacity. Specifies the storage capacity target value, in GiB, for the file system that you're updating.

      You can't make a storage capacity increase request if there is an existing storage capacity increase request in progress.

      For Lustre file systems, the storage capacity target value can be the following:

      • For SCRATCH_2, PERSISTENT_1, and PERSISTENT_2 SSD deployment types, valid values are in multiples of 2400 GiB. The value must be greater than the current storage capacity.

      • For PERSISTENT HDD file systems, valid values are multiples of 6000 GiB for 12-MBps throughput per TiB file systems and multiples of 1800 GiB for 40-MBps throughput per TiB file systems. The values must be greater than the current storage capacity.

      • For SCRATCH_1 file systems, you can't increase the storage capacity.

      For more information, see Managing storage and throughput capacity in the FSx for Lustre User Guide.

      For FSx for OpenZFS file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. For more information, see Managing storage capacity in the FSx for OpenZFS User Guide.

      For Windows file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. To increase storage capacity, the file system must have at least 16 MBps of throughput capacity. For more information, see Managing storage capacity in the Amazon FSxfor Windows File Server User Guide.

      For ONTAP file systems, when increasing storage capacity, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. When decreasing storage capacity on second-generation file systems, the target value must be at least 9 percent smaller than the current SSD storage capacity. For more information, see File system storage capacity and IOPS in the Amazon FSx for NetApp ONTAP User Guide.

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

      UpdateFileSystemRequest.Builder windowsConfiguration(UpdateFileSystemWindowsConfiguration windowsConfiguration)

      The configuration updates for an Amazon FSx for Windows File Server file system.

      Parameters:
      windowsConfiguration - The configuration updates for an Amazon FSx for Windows File Server file system.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • windowsConfiguration

      default UpdateFileSystemRequest.Builder windowsConfiguration(Consumer<UpdateFileSystemWindowsConfiguration.Builder> windowsConfiguration)

      The configuration updates for an Amazon FSx for Windows File Server file system.

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

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

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

      UpdateFileSystemRequest.Builder lustreConfiguration(UpdateFileSystemLustreConfiguration lustreConfiguration)
      Sets the value of the LustreConfiguration property for this object.
      Parameters:
      lustreConfiguration - The new value for the LustreConfiguration property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lustreConfiguration

      default UpdateFileSystemRequest.Builder lustreConfiguration(Consumer<UpdateFileSystemLustreConfiguration.Builder> lustreConfiguration)
      Sets the value of the LustreConfiguration property for this object. This is a convenience method that creates an instance of the UpdateFileSystemLustreConfiguration.Builder avoiding the need to create one manually via UpdateFileSystemLustreConfiguration.builder().

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

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

      Sets the value of the OntapConfiguration property for this object.
      Parameters:
      ontapConfiguration - The new value for the OntapConfiguration property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ontapConfiguration

      Sets the value of the OntapConfiguration property for this object. This is a convenience method that creates an instance of the UpdateFileSystemOntapConfiguration.Builder avoiding the need to create one manually via UpdateFileSystemOntapConfiguration.builder().

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

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

      UpdateFileSystemRequest.Builder openZFSConfiguration(UpdateFileSystemOpenZFSConfiguration openZFSConfiguration)

      The configuration updates for an FSx for OpenZFS file system.

      Parameters:
      openZFSConfiguration - The configuration updates for an FSx for OpenZFS file system.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • openZFSConfiguration

      default UpdateFileSystemRequest.Builder openZFSConfiguration(Consumer<UpdateFileSystemOpenZFSConfiguration.Builder> openZFSConfiguration)

      The configuration updates for an FSx for OpenZFS file system.

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

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

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

      UpdateFileSystemRequest.Builder storageType(String storageType)
      Sets the value of the StorageType property for this object.
      Parameters:
      storageType - The new value for the StorageType property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • storageType

      UpdateFileSystemRequest.Builder storageType(StorageType storageType)
      Sets the value of the StorageType property for this object.
      Parameters:
      storageType - The new value for the StorageType property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fileSystemTypeVersion

      UpdateFileSystemRequest.Builder fileSystemTypeVersion(String fileSystemTypeVersion)

      The Lustre version you are updating an FSx for Lustre file system to. Valid values are 2.12 and 2.15. The value you choose must be newer than the file system's current Lustre version.

      Parameters:
      fileSystemTypeVersion - The Lustre version you are updating an FSx for Lustre file system to. Valid values are 2.12 and 2.15. The value you choose must be newer than the file system's current Lustre version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkType

      UpdateFileSystemRequest.Builder networkType(String networkType)

      Changes the network type of an FSx for OpenZFS file system.

      Parameters:
      networkType - Changes the network type of an FSx for OpenZFS file system.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • networkType

      UpdateFileSystemRequest.Builder networkType(NetworkType networkType)

      Changes the network type of an FSx for OpenZFS file system.

      Parameters:
      networkType - Changes the network type of an FSx for OpenZFS file system.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      UpdateFileSystemRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.