public Comment withCommentId(String commentId) {
        setCommentId(commentId);
        return this;
    }
<p>
The system-generated comment ID.
</p>

@param commentId
       The system-generated comment ID.
@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/Comment.java