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;
    }
<p>
A list of one or more IP addresses of DNS servers or domain controllers in your self-managed 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 your self-managed directory.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-directory/src/main/java/com/amazonaws/services/directory/model/DirectoryConnectSettings.java