public void setElasticInferenceAccelerators(java.util.Collection<ElasticInferenceAccelerator> elasticInferenceAccelerators) {
        if (elasticInferenceAccelerators == null) {
            this.elasticInferenceAccelerators = null;
            return;
        }

        this.elasticInferenceAccelerators = new com.amazonaws.internal.SdkInternalList<ElasticInferenceAccelerator>(elasticInferenceAccelerators);
    }
<p>
An elastic inference accelerator to associate with the instance.
</p>
<note>
<p>
Amazon Elastic Inference (EI) is no longer available to new customers. For more information, see <a
href="http://aws.amazon.com/machine-learning/elastic-inference/faqs/">Amazon Elastic Inference FAQs</a>.
</p>
</note>

@param elasticInferenceAccelerators
       An elastic inference accelerator to associate with the instance.</p> <note>
       <p>
       Amazon Elastic Inference (EI) is no longer available to new customers. For more information, see <a
       href="http://aws.amazon.com/machine-learning/elastic-inference/faqs/">Amazon Elastic Inference FAQs</a>.
       </p>
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/RunInstancesRequest.java