public void setBranches(GitBranchFilterCriteria branches) {
        this.branches = branches;
    }
<p>
The field that specifies to filter on branches for the pull request trigger configuration.
</p>

@param branches
       The field that specifies to filter on branches for the pull request trigger configuration.
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/GitPullRequestFilter.java