public ReactionForComment withReaction(ReactionValueFormats reaction) {
        setReaction(reaction);
        return this;
    }
<p>
The reaction for a specified comment.
</p>

@param reaction
       The reaction for a specified comment.
@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/ReactionForComment.java