public UpdateEnvironmentResult withStatus(EnvironmentStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
The current operational status of the environment:
</p>
<ul>
<li>
<p>
<code>Launching</code>: Environment is in the process of initial deployment.
</p>
</li>
<li>
<p>
<code>Updating</code>: Environment is in the process of updating its configuration settings or application
version.
</p>
</li>
<li>
<p>
<code>Ready</code>: Environment is available to have an action performed on it, such as update or terminate.
</p>
</li>
<li>
<p>
<code>Terminating</code>: Environment is in the shut-down process.
</p>
</li>
<li>
<p>
<code>Terminated</code>: Environment is not running.
</p>
</li>
</ul>

@param status
       The current operational status of the environment:</p>
       <ul>
       <li>
       <p>
       <code>Launching</code>: Environment is in the process of initial deployment.
       </p>
       </li>
       <li>
       <p>
       <code>Updating</code>: Environment is in the process of updating its configuration settings or application
       version.
       </p>
       </li>
       <li>
       <p>
       <code>Ready</code>: Environment is available to have an action performed on it, such as update or
       terminate.
       </p>
       </li>
       <li>
       <p>
       <code>Terminating</code>: Environment is in the shut-down process.
       </p>
       </li>
       <li>
       <p>
       <code>Terminated</code>: Environment is not running.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see EnvironmentStatus
aws-java-sdk-elasticbeanstalk/src/main/java/com/amazonaws/services/elasticbeanstalk/model/UpdateEnvironmentResult.java