@Deprecated
    public InstanceSummary withStatus(InstanceStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
The deployment status for this instance:
</p>
<ul>
<li>
<p>
<code>Pending</code>: The deployment is pending for this instance.
</p>
</li>
<li>
<p>
<code>In Progress</code>: The deployment is in progress for this instance.
</p>
</li>
<li>
<p>
<code>Succeeded</code>: The deployment has succeeded for this instance.
</p>
</li>
<li>
<p>
<code>Failed</code>: The deployment has failed for this instance.
</p>
</li>
<li>
<p>
<code>Skipped</code>: The deployment has been skipped for this instance.
</p>
</li>
<li>
<p>
<code>Unknown</code>: The deployment status is unknown for this instance.
</p>
</li>
</ul>

@param status
       The deployment status for this instance:</p>
       <ul>
       <li>
       <p>
       <code>Pending</code>: The deployment is pending for this instance.
       </p>
       </li>
       <li>
       <p>
       <code>In Progress</code>: The deployment is in progress for this instance.
       </p>
       </li>
       <li>
       <p>
       <code>Succeeded</code>: The deployment has succeeded for this instance.
       </p>
       </li>
       <li>
       <p>
       <code>Failed</code>: The deployment has failed for this instance.
       </p>
       </li>
       <li>
       <p>
       <code>Skipped</code>: The deployment has been skipped for this instance.
       </p>
       </li>
       <li>
       <p>
       <code>Unknown</code>: The deployment status is unknown for this instance.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see InstanceStatus
aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/model/InstanceSummary.java