public ListBranchesResult withBranches(java.util.Collection<Branch> branches) {
        setBranches(branches);
        return this;
    }
<p>
A list of branches for an Amplify app.
</p>

@param branches
       A list of branches for an Amplify app.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-amplify/src/main/java/com/amazonaws/services/amplify/model/ListBranchesResult.java