public AssociateFileSystemAliasesRequest withAliases(java.util.Collection<String> aliases) {
        setAliases(aliases);
        return this;
    }
<p>
An array of one or more DNS alias names to associate with the file system. The alias name has to comply with the
following formatting requirements:
</p>
<ul>
<li>
<p>
Formatted as a fully-qualified domain name (FQDN), <i> <code>hostname.domain</code> </i>, for example,
<code>accounting.corp.example.com</code>.
</p>
</li>
<li>
<p>
Can contain alphanumeric characters and the hyphen (-).
</p>
</li>
<li>
<p>
Cannot start or end with a hyphen.
</p>
</li>
<li>
<p>
Can start with a numeric.
</p>
</li>
</ul>
<p>
For DNS alias names, Amazon FSx stores alphabetic characters as lowercase letters (a-z), regardless of how you
specify them: as uppercase letters, lowercase letters, or the corresponding letters in escape codes.
</p>

@param aliases
       An array of one or more DNS alias names to associate with the file system. The alias name has to comply
       with the following formatting requirements:</p>
       <ul>
       <li>
       <p>
       Formatted as a fully-qualified domain name (FQDN), <i> <code>hostname.domain</code> </i>, for example,
       <code>accounting.corp.example.com</code>.
       </p>
       </li>
       <li>
       <p>
       Can contain alphanumeric characters and the hyphen (-).
       </p>
       </li>
       <li>
       <p>
       Cannot start or end with a hyphen.
       </p>
       </li>
       <li>
       <p>
       Can start with a numeric.
       </p>
       </li>
       </ul>
       <p>
       For DNS alias names, Amazon FSx stores alphabetic characters as lowercase letters (a-z), regardless of how
       you specify them: as uppercase letters, lowercase letters, or the corresponding letters in escape codes.
@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/AssociateFileSystemAliasesRequest.java