public VolumeSpecification withVolumeType(String volumeType) {
        setVolumeType(volumeType);
        return this;
    }
<p>
The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and standard.
</p>

@param volumeType
       The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and standard.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/VolumeSpecification.java