public EbsInstanceBlockDeviceSpecification withVolumeType(EbsVolumeType volumeType) {
        this.volumeType = volumeType.toString();
        return this;
    }
<p>
Use to override the device's volume type.
</p>

@param volumeType
       Use to override the device's volume type.
@return Returns a reference to this object so that method calls can be chained together.
@see EbsVolumeType
aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/EbsInstanceBlockDeviceSpecification.java