code: public DirectoryConnectSettings withCustomerDnsIps(String... customerDnsIps) {
          if (this.customerDnsIps == null) {
              setCustomerDnsIps(new com.amazonaws.internal.SdkInternalList<String>(customerDnsIps.length));
          }
          for (String ele : customerDnsIps) {
              this.customerDnsIps.add(ele);
          }
          return this;
      }
docs: <p>
  A list of one or more IP addresses of DNS servers or domain controllers in the on-premises directory.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setCustomerDnsIps(java.util.Collection)} or {@link #withCustomerDnsIps(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param customerDnsIps
  A list of one or more IP addresses of DNS servers or domain controllers in the on-premises directory.
  @return Returns a reference to this object so that method calls can be chained together.