code: public RunInstancesRequest withElasticGpuSpecification(ElasticGpuSpecification... elasticGpuSpecification) {
          if (this.elasticGpuSpecification == null) {
              setElasticGpuSpecification(new com.amazonaws.internal.SdkInternalList<ElasticGpuSpecification>(elasticGpuSpecification.length));
          }
          for (ElasticGpuSpecification ele : elasticGpuSpecification) {
              this.elasticGpuSpecification.add(ele);
          }
          return this;
      }
docs: <p>
  An elastic GPU to associate with the instance. An Elastic GPU is a GPU resource that you can attach to your
  Windows instance to accelerate the graphics performance of your applications. For more information, see <a
  href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-graphics.html"> Amazon EC2 Elastic GPUs</a>
  in the <i>Amazon Elastic Compute Cloud User Guide</i>.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setElasticGpuSpecification(java.util.Collection)} or
  {@link #withElasticGpuSpecification(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param elasticGpuSpecification
  An elastic GPU to associate with the instance. An Elastic GPU is a GPU resource that you can attach to
  your Windows instance to accelerate the graphics performance of your applications. For more information,
  see <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-graphics.html"> Amazon EC2
  Elastic GPUs</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.
  @return Returns a reference to this object so that method calls can be chained together.