public void setLocalStorageTypes(java.util.Collection<String> localStorageTypes) {
        if (localStorageTypes == null) {
            this.localStorageTypes = null;
            return;
        }

        this.localStorageTypes = new com.amazonaws.internal.SdkInternalList<String>(localStorageTypes);
    }
<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>
@see LocalStorageType
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/InstanceRequirementsRequest.java