code: public ListElasticsearchInstanceTypesResult withElasticsearchInstanceTypes(String... elasticsearchInstanceTypes) {
          if (this.elasticsearchInstanceTypes == null) {
              setElasticsearchInstanceTypes(new java.util.ArrayList<String>(elasticsearchInstanceTypes.length));
          }
          for (String ele : elasticsearchInstanceTypes) {
              this.elasticsearchInstanceTypes.add(ele);
          }
          return this;
      }
docs: <p>
  List of instance types supported by Amazon Elasticsearch service for given
  <code> <a>ElasticsearchVersion</a> </code>
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setElasticsearchInstanceTypes(java.util.Collection)} or
  {@link #withElasticsearchInstanceTypes(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param elasticsearchInstanceTypes
  List of instance types supported by Amazon Elasticsearch service for given
  <code> <a>ElasticsearchVersion</a> </code>
  @return Returns a reference to this object so that method calls can be chained together.
  @see ESPartitionInstanceType