public String getBootMode() {
        return this.bootMode;
    }
<p>
The boot mode of the AMI. A value of <code>uefi-preferred</code> indicates that the AMI supports both UEFI and
Legacy BIOS.
</p>
<note>
<p>
The operating system contained in the AMI must be configured to support the specified boot mode.
</p>
</note>
<p>
For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Boot
modes</a> in the <i>Amazon EC2 User Guide</i>.
</p>

@return The boot mode of the AMI. A value of <code>uefi-preferred</code> indicates that the AMI supports both
        UEFI and Legacy BIOS.</p> <note>
        <p>
        The operating system contained in the AMI must be configured to support the specified boot mode.
        </p>
        </note>
        <p>
        For more information, see <a
        href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Boot modes</a> in the <i>Amazon
        EC2 User Guide</i>.
@see BootModeValues
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/RegisterImageRequest.java