public void setElasticGpuSpecification(java.util.Collection<ElasticGpuSpecification> elasticGpuSpecification) {
        if (elasticGpuSpecification == null) {
            this.elasticGpuSpecification = null;
            return;
        }

        this.elasticGpuSpecification = new com.amazonaws.internal.SdkInternalList<ElasticGpuSpecification>(elasticGpuSpecification);
    }
<p>
An elastic GPU to associate with the instance.
</p>
<note>
<p>
Amazon Elastic Graphics reached end of life on January 8, 2024.
</p>
</note>

@param elasticGpuSpecification
       An elastic GPU to associate with the instance.</p> <note>
       <p>
       Amazon Elastic Graphics reached end of life on January 8, 2024.
       </p>
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/RunInstancesRequest.java