public void setNetworkFunctionGroups(java.util.Collection<NetworkFunctionGroup> networkFunctionGroups) {
        if (networkFunctionGroups == null) {
            this.networkFunctionGroups = null;
            return;
        }

        this.networkFunctionGroups = new java.util.ArrayList<NetworkFunctionGroup>(networkFunctionGroups);
    }
<p>
The list of network function groups associated with the service insertion action.
</p>

@param networkFunctionGroups
       The list of network function groups associated with the service insertion action.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/Via.java