Interface VolumeConfiguration.Builder

    • Method Detail

      • volumeType

        VolumeConfiguration.Builder volumeType​(String volumeType)

        The volume type.

        This can be gp2 for General Purpose SSD, io1 or io2 for Provisioned IOPS SSD, st1 for Throughput Optimized HDD, sc1 for Cold HDD, or standard for Magnetic volumes.

        Parameters:
        volumeType - The volume type.

        This can be gp2 for General Purpose SSD, io1 or io2 for Provisioned IOPS SSD, st1 for Throughput Optimized HDD, sc1 for Cold HDD, or standard for Magnetic volumes.

        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.