public LaunchProfileInitializationActiveDirectory withDnsIpAddresses(String... dnsIpAddresses) {
        if (this.dnsIpAddresses == null) {
            setDnsIpAddresses(new java.util.ArrayList<String>(dnsIpAddresses.length));
        }
        for (String ele : dnsIpAddresses) {
            this.dnsIpAddresses.add(ele);
        }
        return this;
    }
<p>
The DNS IP address.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDnsIpAddresses(java.util.Collection)} or {@link #withDnsIpAddresses(java.util.Collection)} if you want
to override the existing values.
</p>

@param dnsIpAddresses
       The DNS IP address.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-nimblestudio/src/main/java/com/amazonaws/services/nimblestudio/model/LaunchProfileInitializationActiveDirectory.java