public GetBranchRequest withRepositoryName(String repositoryName) {
        setRepositoryName(repositoryName);
        return this;
    }
<p>
The name of the repository that contains the branch for which you want to retrieve information.
</p>

@param repositoryName
       The name of the repository that contains the branch for which you want to retrieve information.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codecommit/src/main/java/com/amazonaws/services/codecommit/model/GetBranchRequest.java