Interface VolumeSpecification.Builder

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

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

    • volumeType

      VolumeSpecification.Builder volumeType(String volumeType)

      The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and standard.

      Parameters:
      volumeType - The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and standard.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • iops

      The number of I/O operations per second (IOPS) that the volume supports.

      Parameters:
      iops - The number of I/O operations per second (IOPS) that the volume supports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sizeInGB

      The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.

      Parameters:
      sizeInGB - The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • throughput

      VolumeSpecification.Builder throughput(Integer throughput)

      The throughput, in mebibyte per second (MiB/s). This optional parameter can be a number from 125 - 1000 and is valid only for gp3 volumes.

      Parameters:
      throughput - The throughput, in mebibyte per second (MiB/s). This optional parameter can be a number from 125 - 1000 and is valid only for gp3 volumes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.