public Service withEdges(Edge... edges) {
        if (this.edges == null) {
            setEdges(new java.util.ArrayList<Edge>(edges.length));
        }
        for (Edge ele : edges) {
            this.edges.add(ele);
        }
        return this;
    }
<p>
Connections to downstream services.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEdges(java.util.Collection)} or {@link #withEdges(java.util.Collection)} if you want to override the
existing values.
</p>

@param edges
       Connections to downstream services.
@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/Service.java