Interface VolumeConfiguration.Builder

  • Method Details

    • volumeType

      VolumeConfiguration.Builder volumeType(String volumeType)

      The volume type.

      The volume types can be the following:

      • General Purpose SSD gp2 and gp3

      • Provisioned IOPS SSD io1, io2, and io2 Block Express

      • Throughput Optimized HDD st1

      • Cold HDD sc1

      • Magnetic volumes standard

      Parameters:
      volumeType - The volume type.

      The volume types can be the following:

      • General Purpose SSD gp2 and gp3

      • Provisioned IOPS SSD io1, io2, and io2 Block Express

      • Throughput Optimized HDD st1

      • Cold HDD sc1

      • Magnetic volumes standard

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

      VolumeConfiguration.Builder volumeSize(Integer volumeSize)

      The size of the volume, in GiB.

      Parameters:
      volumeSize - The size of the volume, in GiB.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • volumeBaselineIOPS

      VolumeConfiguration.Builder volumeBaselineIOPS(Integer volumeBaselineIOPS)

      The baseline IOPS of the volume.

      Parameters:
      volumeBaselineIOPS - The baseline IOPS of the volume.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • volumeBurstIOPS

      VolumeConfiguration.Builder volumeBurstIOPS(Integer volumeBurstIOPS)

      The burst IOPS of the volume.

      Parameters:
      volumeBurstIOPS - The burst IOPS of the volume.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • volumeBaselineThroughput

      VolumeConfiguration.Builder volumeBaselineThroughput(Integer volumeBaselineThroughput)

      The baseline throughput of the volume.

      Parameters:
      volumeBaselineThroughput - The baseline throughput of the volume.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • volumeBurstThroughput

      VolumeConfiguration.Builder volumeBurstThroughput(Integer volumeBurstThroughput)

      The burst throughput of the volume.

      Parameters:
      volumeBurstThroughput - The burst throughput of the volume.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rootVolume

      VolumeConfiguration.Builder rootVolume(Boolean rootVolume)

      Contains the image used to boot the instance during launch.

      Parameters:
      rootVolume - Contains the image used to boot the instance during launch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.