docs: public VpcEndpoint withDnsEntries(DnsEntry... dnsEntries) {
          if (this.dnsEntries == null) {
              setDnsEntries(new com.amazonaws.internal.SdkInternalList<DnsEntry>(dnsEntries.length));
          }
          for (DnsEntry ele : dnsEntries) {
              this.dnsEntries.add(ele);
          }
          return this;
      }