public Instance withInstallUpdatesOnBoot(Boolean installUpdatesOnBoot) {
        setInstallUpdatesOnBoot(installUpdatesOnBoot);
        return this;
    }
<p>
Whether to install operating system and package updates when the instance boots. The default value is
<code>true</code>. If this value is set to <code>false</code>, you must update instances manually by using
<a>CreateDeployment</a> to run the <code>update_dependencies</code> stack command or by manually running
<code>yum</code> (Amazon Linux) or <code>apt-get</code> (Ubuntu) on the instances.
</p>
<note>
<p>
We strongly recommend using the default value of <code>true</code> to ensure that your instances have the latest
security updates.
</p>
</note>

@param installUpdatesOnBoot
       Whether to install operating system and package updates when the instance boots. The default value is
       <code>true</code>. If this value is set to <code>false</code>, you must update instances manually by using
       <a>CreateDeployment</a> to run the <code>update_dependencies</code> stack command or by manually running
       <code>yum</code> (Amazon Linux) or <code>apt-get</code> (Ubuntu) on the instances. </p> <note>
       <p>
       We strongly recommend using the default value of <code>true</code> to ensure that your instances have the
       latest security updates.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/Instance.java