public void setVolumeType(String volumeType) {
        this.volumeType = volumeType;
    }
<p>
The volume type. This parameter can be one of the following values:
</p>
<ul>
<li>
<p>
General Purpose SSD: <code>gp2</code> | <code>gp3</code>
</p>
</li>
<li>
<p>
Provisioned IOPS SSD: <code>io1</code> | <code>io2</code>
</p>
</li>
<li>
<p>
Throughput Optimized HDD: <code>st1</code>
</p>
</li>
<li>
<p>
Cold HDD: <code>sc1</code>
</p>
</li>
<li>
<p>
Magnetic: <code>standard</code>
</p>
</li>
</ul>
<important>
<p>
Throughput Optimized HDD (<code>st1</code>) and Cold HDD (<code>sc1</code>) volumes can't be used as boot
volumes.
</p>
</important>
<p>
For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html">Amazon
EBS volume types</a> in the <i>Amazon EBS User Guide</i>.
</p>
<p>
Default: <code>gp2</code>
</p>

@param volumeType
       The volume type. This parameter can be one of the following values:</p>
       <ul>
       <li>
       <p>
       General Purpose SSD: <code>gp2</code> | <code>gp3</code>
       </p>
       </li>
       <li>
       <p>
       Provisioned IOPS SSD: <code>io1</code> | <code>io2</code>
       </p>
       </li>
       <li>
       <p>
       Throughput Optimized HDD: <code>st1</code>
       </p>
       </li>
       <li>
       <p>
       Cold HDD: <code>sc1</code>
       </p>
       </li>
       <li>
       <p>
       Magnetic: <code>standard</code>
       </p>
       </li>
       </ul>
       <important>
       <p>
       Throughput Optimized HDD (<code>st1</code>) and Cold HDD (<code>sc1</code>) volumes can't be used as boot
       volumes.
       </p>
       </important>
       <p>
       For more information, see <a
       href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html">Amazon EBS volume types</a>
       in the <i>Amazon EBS User Guide</i>.
       </p>
       <p>
       Default: <code>gp2</code>
@see VolumeType
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateVolumeRequest.java