public RegisterImageRequest withRootDeviceName(String rootDeviceName) {
        setRootDeviceName(rootDeviceName);
        return this;
    }
<p>
The device name of the root device volume (for example, <code>/dev/sda1</code>).
</p>

@param rootDeviceName
       The device name of the root device volume (for example, <code>/dev/sda1</code>).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/RegisterImageRequest.java