public StackEvent withDetailedStatus(DetailedStatus detailedStatus) {
        this.detailedStatus = detailedStatus.toString();
        return this;
    }
<p>
An optional field containing information about the detailed status of the stack event.
</p>
<ul>
<li>
<p>
<code>CONFIGURATION_COMPLETE</code> - all of the resources in the stack have reached that event. For more
information, see <a href=
"https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stack-resource-configuration-complete.html"
>CloudFormation stack deployment</a> in the <i>CloudFormation User Guide</i>.
</p>
</li>
</ul>
<ul>
<li>
<p>
<code>VALIDATION_FAILED</code> - template validation failed because of invalid properties in the template. The
<code>ResourceStatusReason</code> field shows what properties are defined incorrectly.
</p>
</li>
</ul>

@param detailedStatus
       An optional field containing information about the detailed status of the stack event.</p>
       <ul>
       <li>
       <p>
       <code>CONFIGURATION_COMPLETE</code> - all of the resources in the stack have reached that event. For more
       information, see <a href=
       "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stack-resource-configuration-complete.html"
       >CloudFormation stack deployment</a> in the <i>CloudFormation User Guide</i>.
       </p>
       </li>
       </ul>
       <ul>
       <li>
       <p>
       <code>VALIDATION_FAILED</code> - template validation failed because of invalid properties in the template.
       The <code>ResourceStatusReason</code> field shows what properties are defined incorrectly.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see DetailedStatus
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/StackEvent.java