public CodeReviewSummary withState(String state) {
        setState(state);
        return this;
    }
<p>
The state of the code review.
</p>
<p>
The valid code review states are:
</p>
<ul>
<li>
<p>
<code>Completed</code>: The code review is complete.
</p>
</li>
<li>
<p>
<code>Pending</code>: The code review started and has not completed or failed.
</p>
</li>
<li>
<p>
<code>Failed</code>: The code review failed.
</p>
</li>
<li>
<p>
<code>Deleting</code>: The code review is being deleted.
</p>
</li>
</ul>

@param state
       The state of the code review.</p>
       <p>
       The valid code review states are:
       </p>
       <ul>
       <li>
       <p>
       <code>Completed</code>: The code review is complete.
       </p>
       </li>
       <li>
       <p>
       <code>Pending</code>: The code review started and has not completed or failed.
       </p>
       </li>
       <li>
       <p>
       <code>Failed</code>: The code review failed.
       </p>
       </li>
       <li>
       <p>
       <code>Deleting</code>: The code review is being deleted.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see JobState
aws-java-sdk-codegurureviewer/src/main/java/com/amazonaws/services/codegurureviewer/model/CodeReviewSummary.java