public Volume withVolumeType(VolumeType volumeType) {
        this.volumeType = volumeType.toString();
        return this;
    }
<p>
The type of the volume.
</p>

@param volumeType
       The type of the volume.
@return Returns a reference to this object so that method calls can be chained together.
@see VolumeType
aws-java-sdk-fsx/src/main/java/com/amazonaws/services/fsx/model/Volume.java