public EbsBlockDevice withVolumeType(String volumeType) {
        setVolumeType(volumeType);
        return this;
    }
<p>
The volume type. <code>gp2</code> for General Purpose (SSD) volumes, <code>io1</code> for Provisioned IOPS (SSD)
volumes, <code>st1</code> for Throughput Optimized hard disk drives (HDD), <code>sc1</code> for Cold HDD,and
<code>standard</code> for Magnetic volumes.
</p>
<p>
If you specify the <code>io1</code> volume type, you must also specify a value for the <code>Iops</code>
attribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. Amazon Web Services
uses the default volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x (volume size).
</p>

@param volumeType
       The volume type. <code>gp2</code> for General Purpose (SSD) volumes, <code>io1</code> for Provisioned IOPS
       (SSD) volumes, <code>st1</code> for Throughput Optimized hard disk drives (HDD), <code>sc1</code> for Cold
       HDD,and <code>standard</code> for Magnetic volumes.</p>
       <p>
       If you specify the <code>io1</code> volume type, you must also specify a value for the <code>Iops</code>
       attribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. Amazon Web
       Services uses the default volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x (volume
       size).
@return Returns a reference to this object so that method calls can be chained together.
@see VolumeType
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/EbsBlockDevice.java