public CreateClientVpnEndpointRequest withDnsServers(java.util.Collection<String> dnsServers) {
        setDnsServers(dnsServers);
        return this;
    }
<p>
Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two DNS
servers. If no DNS server is specified, the DNS address configured on the device is used for the DNS server.
</p>

@param dnsServers
       Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two
       DNS servers. If no DNS server is specified, the DNS address configured on the device is used for the DNS
       server.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateClientVpnEndpointRequest.java