public Edge withAliases(java.util.Collection<Alias> aliases) {
        setAliases(aliases);
        return this;
    }
<p>
Aliases for the edge.
</p>

@param aliases
       Aliases for the edge.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-xray/src/main/java/com/amazonaws/services/xray/model/Edge.java