public InstanceRequirementsRequest withLocalStorage(LocalStorage localStorage) {
        this.localStorage = localStorage.toString();
        return this;
    }
<p>
Indicates whether instance types with instance store volumes are included, excluded, or required. For more
information, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html">Amazon EC2
instance store</a> in the <i>Amazon EC2 User Guide</i>.
</p>
<ul>
<li>
<p>
To include instance types with instance store volumes, specify <code>included</code>.
</p>
</li>
<li>
<p>
To require only instance types with instance store volumes, specify <code>required</code>.
</p>
</li>
<li>
<p>
To exclude instance types with instance store volumes, specify <code>excluded</code>.
</p>
</li>
</ul>
<p>
Default: <code>included</code>
</p>

@param localStorage
       Indicates whether instance types with instance store volumes are included, excluded, or required. For more
       information, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html">Amazon EC2
       instance store</a> in the <i>Amazon EC2 User Guide</i>.</p>
       <ul>
       <li>
       <p>
       To include instance types with instance store volumes, specify <code>included</code>.
       </p>
       </li>
       <li>
       <p>
       To require only instance types with instance store volumes, specify <code>required</code>.
       </p>
       </li>
       <li>
       <p>
       To exclude instance types with instance store volumes, specify <code>excluded</code>.
       </p>
       </li>
       </ul>
       <p>
       Default: <code>included</code>
@return Returns a reference to this object so that method calls can be chained together.
@see LocalStorage
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/InstanceRequirementsRequest.java