public VolumeConfiguration withRootVolume(Boolean rootVolume) {
        setRootVolume(rootVolume);
        return this;
    }
<p>
Contains the image used to boot the instance during launch.
</p>

@param rootVolume
       Contains the image used to boot the instance during launch.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-computeoptimizer/src/main/java/com/amazonaws/services/computeoptimizer/model/VolumeConfiguration.java