public FileCache withDNSName(String dNSName) {
        setDNSName(dNSName);
        return this;
    }
<p>
The Domain Name System (DNS) name for the cache.
</p>

@param dNSName
       The Domain Name System (DNS) name for the cache.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-fsx/src/main/java/com/amazonaws/services/fsx/model/FileCache.java