public MergeBranchesByFastForwardRequest withTargetBranch(String targetBranch) {
        setTargetBranch(targetBranch);
        return this;
    }
<p>
The branch where the merge is applied.
</p>

@param targetBranch
       The branch where the merge is applied.
@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/MergeBranchesByFastForwardRequest.java