code: public ResponseLaunchTemplateData withElasticGpuSpecifications(ElasticGpuSpecificationResponse... elasticGpuSpecifications) {
          if (this.elasticGpuSpecifications == null) {
              setElasticGpuSpecifications(new com.amazonaws.internal.SdkInternalList<ElasticGpuSpecificationResponse>(elasticGpuSpecifications.length));
          }
          for (ElasticGpuSpecificationResponse ele : elasticGpuSpecifications) {
              this.elasticGpuSpecifications.add(ele);
          }
          return this;
      }
docs: <p>
  The elastic GPU specification.
  </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
  The elastic GPU specification.
  @return Returns a reference to this object so that method calls can be chained together.