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

        this.branches = new java.util.ArrayList<Branch>(branches);
    }
<p>
A list of branches for an Amplify app.
</p>

@param branches
       A list of branches for an Amplify app.
aws-java-sdk-amplify/src/main/java/com/amazonaws/services/amplify/model/ListBranchesResult.java