public HibernationOptionsRequest getHibernationOptions() {
        return this.hibernationOptions;
    }
<p>
Indicates whether an instance is enabled for hibernation. This parameter is valid only if the instance meets the
<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html">hibernation
prerequisites</a>. For more information, see <a
href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your Amazon EC2 instance</a>
in the <i>Amazon EC2 User Guide</i>.
</p>
<p>
You can't enable hibernation and Amazon Web Services Nitro Enclaves on the same instance.
</p>

@return Indicates whether an instance is enabled for hibernation. This parameter is valid only if the instance
        meets the <a
        href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html">hibernation
        prerequisites</a>. For more information, see <a
        href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your Amazon EC2
        instance</a> in the <i>Amazon EC2 User Guide</i>.</p>
        <p>
        You can't enable hibernation and Amazon Web Services Nitro Enclaves on the same instance.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/RunInstancesRequest.java