public InstanceRequirementsRequest withLocalStorageTypes(LocalStorageType... localStorageTypes) {
        com.amazonaws.internal.SdkInternalList<String> localStorageTypesCopy = new com.amazonaws.internal.SdkInternalList<String>(localStorageTypes.length);
        for (LocalStorageType value : localStorageTypes) {
            localStorageTypesCopy.add(value.toString());
        }
        if (getLocalStorageTypes() == null) {
            setLocalStorageTypes(localStorageTypesCopy);
        } else {
            getLocalStorageTypes().addAll(localStorageTypesCopy);
        }
        return this;
    }
<p>
The type of local storage that is required.
</p>
<ul>
<li>
<p>
For instance types with hard disk drive (HDD) storage, specify <code>hdd</code>.
</p>
</li>
<li>
<p>
For instance types with solid state drive (SSD) storage, specify <code>ssd</code>.
</p>
</li>
</ul>
<p>
Default: <code>hdd</code> and <code>ssd</code>
</p>

@param localStorageTypes
       The type of local storage that is required.</p>
       <ul>
       <li>
       <p>
       For instance types with hard disk drive (HDD) storage, specify <code>hdd</code>.
       </p>
       </li>
       <li>
       <p>
       For instance types with solid state drive (SSD) storage, specify <code>ssd</code>.
       </p>
       </li>
       </ul>
       <p>
       Default: <code>hdd</code> and <code>ssd</code>
@return Returns a reference to this object so that method calls can be chained together.
@see LocalStorageType
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/InstanceRequirementsRequest.java