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