public ListAliasesResult withAliases(java.util.Collection<String> aliases) {
        setAliases(aliases);
        return this;
    }
<p>
The entity's paginated aliases.
</p>

@param aliases
       The entity's paginated aliases.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workmail/src/main/java/com/amazonaws/services/workmail/model/ListAliasesResult.java