public ResourceDetail withResourceStatus(GeneratedTemplateResourceStatus resourceStatus) {
        this.resourceStatus = resourceStatus.toString();
        return this;
    }
<p>
Status of the processing of a resource in a generated template.
</p>
<dl>
<dt>InProgress</dt>
<dd>
<p>
The resource processing is still in progress.
</p>
</dd>
<dt>Complete</dt>
<dd>
<p>
The resource processing is complete.
</p>
</dd>
<dt>Pending</dt>
<dd>
<p>
The resource processing is pending.
</p>
</dd>
<dt>Failed</dt>
<dd>
<p>
The resource processing has failed.
</p>
</dd>
</dl>

@param resourceStatus
       Status of the processing of a resource in a generated template.</p>
       <dl>
       <dt>InProgress</dt>
       <dd>
       <p>
       The resource processing is still in progress.
       </p>
       </dd>
       <dt>Complete</dt>
       <dd>
       <p>
       The resource processing is complete.
       </p>
       </dd>
       <dt>Pending</dt>
       <dd>
       <p>
       The resource processing is pending.
       </p>
       </dd>
       <dt>Failed</dt>
       <dd>
       <p>
       The resource processing has failed.
       </p>
       </dd>
@return Returns a reference to this object so that method calls can be chained together.
@see GeneratedTemplateResourceStatus
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/ResourceDetail.java