docs: public ListElasticsearchInstanceTypesResult withElasticsearchInstanceTypes(ESPartitionInstanceType... elasticsearchInstanceTypes) {
          java.util.ArrayList<String> elasticsearchInstanceTypesCopy = new java.util.ArrayList<String>(elasticsearchInstanceTypes.length);
          for (ESPartitionInstanceType value : elasticsearchInstanceTypes) {
              elasticsearchInstanceTypesCopy.add(value.toString());
          }
          if (getElasticsearchInstanceTypes() == null) {
              setElasticsearchInstanceTypes(elasticsearchInstanceTypesCopy);
          } else {
              getElasticsearchInstanceTypes().addAll(elasticsearchInstanceTypesCopy);
          }
          return this;
      }