public java.util.List<String> getDnsServers() {
        if (dnsServers == null) {
            dnsServers = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return dnsServers;
    }
public java . util . List < String > getDnsServers ( ) { if ( dnsServers == null ) { dnsServers = new com . amazonaws . internal . SdkInternalList < String > ( ) ; } return dnsServers ; }
<p>
A list of DNS servers that are presented to the container. This parameter maps to <code>Dns</code> in the <a
href="https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate">Create a container</a> section of the
<a href="https://docs.docker.com/engine/api/v1.35/">Docker Remote API</a> and the <code>--dns</code> option to <a
href="https://docs.docker.com/engine/reference/run/">docker run</a>.
</p>
<note>
<p>
This parameter is not supported for Windows containers.
</p>
</note>

@return A list of DNS servers that are presented to the container. This parameter maps to <code>Dns</code> in the
<a href="https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate">Create a container</a>
section of the <a href="https://docs.docker.com/engine/api/v1.35/">Docker Remote API</a> and the
<code>--dns</code> option to <a href="https://docs.docker.com/engine/reference/run/">docker run</a>.</p>
<note>
<p>
This parameter is not supported for Windows containers.
</p>