public void setEdges(java.util.Collection<CoreNetworkEdge> edges) {
        if (edges == null) {
            this.edges = null;
            return;
        }

        this.edges = new java.util.ArrayList<CoreNetworkEdge>(edges);
    }
<p>
The edges within a core network.
</p>

@param edges
       The edges within a core network.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/CoreNetwork.java