/** * Sets the new value of "resultTypeIndexSearchResponseDtos" (any previous value will be replaced) * * @param resultTypeIndexSearchResponseDtos * New value of the "resultTypeIndexSearchResponseDtos" property. */ public ElasticsearchResponseDto.Builder<_B> withResultTypeIndexSearchResponseDtos(final Iterable<? extends ResultTypeIndexSearchResponseDto> resultTypeIndexSearchResponseDtos) { if (this.resultTypeIndexSearchResponseDtos!= null) { this.resultTypeIndexSearchResponseDtos.clear(); } return addResultTypeIndexSearchResponseDtos(resultTypeIndexSearchResponseDtos); }
/** * Adds the given items to the value of "resultTypeIndexSearchResponseDtos" * * @param resultTypeIndexSearchResponseDtos * Items to add to the value of the "resultTypeIndexSearchResponseDtos" property */ public ElasticsearchResponseDto.Builder<_B> addResultTypeIndexSearchResponseDtos(ResultTypeIndexSearchResponseDto... resultTypeIndexSearchResponseDtos) { addResultTypeIndexSearchResponseDtos(Arrays.asList(resultTypeIndexSearchResponseDtos)); return this; }