public AssociateFileSystemAliasesResult withAliases(java.util.Collection<Alias> aliases) {
        setAliases(aliases);
        return this;
    }
<p>
An array of the DNS aliases that Amazon FSx is associating with the file system.
</p>

@param aliases
       An array of the DNS aliases that Amazon FSx is associating with the file system.
@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/AssociateFileSystemAliasesResult.java