public void setDnsServers(java.util.Collection<String> dnsServers) {
        if (dnsServers == null) {
            this.dnsServers = null;
            return;
        }

        this.dnsServers = new java.util.ArrayList<String>(dnsServers);
    }
<p>
A list of DNS servers that are presented to the container.
</p>

@param dnsServers
       A list of DNS servers that are presented to the container.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEcsTaskDefinitionContainerDefinitionsDetails.java