code: public RequestLaunchTemplateData withElasticGpuSpecifications(ElasticGpuSpecification... elasticGpuSpecifications) {
          if (this.elasticGpuSpecifications == null) {
              setElasticGpuSpecifications(new com.amazonaws.internal.SdkInternalList<ElasticGpuSpecification>(elasticGpuSpecifications.length));
          }
          for (ElasticGpuSpecification ele : elasticGpuSpecifications) {
              this.elasticGpuSpecifications.add(ele);
          }
          return this;
      }
docs: <p>
  An elastic GPU to associate with the instance.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setElasticGpuSpecifications(java.util.Collection)} or
  {@link #withElasticGpuSpecifications(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param elasticGpuSpecifications
  An elastic GPU to associate with the instance.
  @return Returns a reference to this object so that method calls can be chained together.