public MergeBranchesBySquashResult withTreeId(String treeId) {
        setTreeId(treeId);
        return this;
    }
<p>
The tree ID of the merge in the destination or target branch.
</p>

@param treeId
       The tree ID of the merge in the destination or target branch.
@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/MergeBranchesBySquashResult.java