public WhatIfForecastSummary withStatus(String status) {
        setStatus(status);
        return this;
    }
<p>
The status of the what-if forecast. States include:
</p>
<ul>
<li>
<p>
<code>ACTIVE</code>
</p>
</li>
<li>
<p>
<code>CREATE_PENDING</code>, <code>CREATE_IN_PROGRESS</code>, <code>CREATE_FAILED</code>
</p>
</li>
<li>
<p>
<code>CREATE_STOPPING</code>, <code>CREATE_STOPPED</code>
</p>
</li>
<li>
<p>
<code>DELETE_PENDING</code>, <code>DELETE_IN_PROGRESS</code>, <code>DELETE_FAILED</code>
</p>
</li>
</ul>
<note>
<p>
The <code>Status</code> of the what-if analysis must be <code>ACTIVE</code> before you can access the analysis.
</p>
</note>

@param status
       The status of the what-if forecast. States include:</p>
       <ul>
       <li>
       <p>
       <code>ACTIVE</code>
       </p>
       </li>
       <li>
       <p>
       <code>CREATE_PENDING</code>, <code>CREATE_IN_PROGRESS</code>, <code>CREATE_FAILED</code>
       </p>
       </li>
       <li>
       <p>
       <code>CREATE_STOPPING</code>, <code>CREATE_STOPPED</code>
       </p>
       </li>
       <li>
       <p>
       <code>DELETE_PENDING</code>, <code>DELETE_IN_PROGRESS</code>, <code>DELETE_FAILED</code>
       </p>
       </li>
       </ul>
       <note>
       <p>
       The <code>Status</code> of the what-if analysis must be <code>ACTIVE</code> before you can access the
       analysis.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-forecast/src/main/java/com/amazonaws/services/forecast/model/WhatIfForecastSummary.java