public AwsEcsTaskDefinitionContainerDefinitionsDetails withDnsServers(java.util.Collection<String> dnsServers) {
        setDnsServers(dnsServers);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEcsTaskDefinitionContainerDefinitionsDetails.java