public Comment withDeleted(Boolean deleted) {
        setDeleted(deleted);
        return this;
    }
<p>
A Boolean value indicating whether the comment has been deleted.
</p>

@param deleted
       A Boolean value indicating whether the comment has been deleted.
@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