public void setAliases(java.util.Collection<Alias> aliases) {
        if (aliases == null) {
            this.aliases = null;
            return;
        }

        this.aliases = new java.util.ArrayList<Alias>(aliases);
    }
<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.
aws-java-sdk-fsx/src/main/java/com/amazonaws/services/fsx/model/AssociateFileSystemAliasesResult.java