public void setBranch(BranchInfo branch) {
        this.branch = branch;
    }
<p>
The name of the branch.
</p>

@param branch
       The name of the branch.
aws-java-sdk-codecommit/src/main/java/com/amazonaws/services/codecommit/model/GetBranchResult.java