public Via withWithEdgeOverrides(EdgeOverride... withEdgeOverrides) {
        if (this.withEdgeOverrides == null) {
            setWithEdgeOverrides(new java.util.ArrayList<EdgeOverride>(withEdgeOverrides.length));
        }
        for (EdgeOverride ele : withEdgeOverrides) {
            this.withEdgeOverrides.add(ele);
        }
        return this;
    }
<p>
Describes any edge overrides. An edge override is a specific edge to be used for traffic.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setWithEdgeOverrides(java.util.Collection)} or {@link #withWithEdgeOverrides(java.util.Collection)} if
you want to override the existing values.
</p>

@param withEdgeOverrides
       Describes any edge overrides. An edge override is a specific edge to be used for traffic.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/Via.java