Interface ModifyVolumeRequest.Builder

  • Method Details

    • volumeId

      ModifyVolumeRequest.Builder volumeId(String volumeId)

      Specifies the identifier of the volume to modify.

      Parameters:
      volumeId - Specifies the identifier of the volume to modify.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sizeInGB

      Specifies the target size of the volume, in GiB. The target size must be greater than or equal to the current size of the volume. If you don't specify a size, the current size is retained.

      Parameters:
      sizeInGB - Specifies the target size of the volume, in GiB. The target size must be greater than or equal to the current size of the volume. If you don't specify a size, the current size is retained.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • volumeType

      ModifyVolumeRequest.Builder volumeType(String volumeType)

      Specifies the target Amazon Elastic Block Store (Amazon EBS) volume type. If you don't specify a volume type, the current volume type is retained.

      Parameters:
      volumeType - Specifies the target Amazon Elastic Block Store (Amazon EBS) volume type. If you don't specify a volume type, the current volume type is retained.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • volumeType

      Specifies the target Amazon Elastic Block Store (Amazon EBS) volume type. If you don't specify a volume type, the current volume type is retained.

      Parameters:
      volumeType - Specifies the target Amazon Elastic Block Store (Amazon EBS) volume type. If you don't specify a volume type, the current volume type is retained.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • iops

      Specifies the target IOPS rate of the volume. This parameter is valid only for gp3, io1, and io2 volumes. If you don't specify IOPS and keep the same volume type, the current IOPS rate is retained.

      Parameters:
      iops - Specifies the target IOPS rate of the volume. This parameter is valid only for gp3, io1, and io2 volumes. If you don't specify IOPS and keep the same volume type, the current IOPS rate is retained.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • throughput

      ModifyVolumeRequest.Builder throughput(Integer throughput)

      Specifies the target throughput of the volume, in MiB/s. This parameter is valid only for gp3 volumes. If you don't specify throughput and the volume remains gp3, the current throughput is retained.

      Parameters:
      throughput - Specifies the target throughput of the volume, in MiB/s. This parameter is valid only for gp3 volumes. If you don't specify throughput and the volume remains gp3, the current throughput is retained.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      ModifyVolumeRequest.Builder clientToken(String clientToken)

      Unique token to ensure idempotent volume modification, preventing duplicate volume modifications.

      Parameters:
      clientToken - Unique token to ensure idempotent volume modification, preventing duplicate volume modifications.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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