public WindowsFileSystemConfiguration withAliases(Alias... aliases) {
        if (this.aliases == null) {
            setAliases(new java.util.ArrayList<Alias>(aliases.length));
        }
        for (Alias ele : aliases) {
            this.aliases.add(ele);
        }
        return this;
    }
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAliases(java.util.Collection)} or {@link #withAliases(java.util.Collection)} if you want to override
the existing values.
</p>

@param aliases
@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/WindowsFileSystemConfiguration.java