public void setBranches(java.util.Collection<RandomSplitEntry> branches) {
        if (branches == null) {
            this.branches = null;
            return;
        }

        this.branches = new java.util.ArrayList<RandomSplitEntry>(branches);
    }
<p>
The paths for the activity, including the percentage of participants to enter each path and the activity to
perform for each path.
</p>

@param branches
       The paths for the activity, including the percentage of participants to enter each path and the activity
       to perform for each path.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/RandomSplitActivity.java