public LifecycleEvent withStatus(LifecycleEventStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
The deployment lifecycle event status:
</p>
<ul>
<li>
<p>
Pending: The deployment lifecycle event is pending.
</p>
</li>
<li>
<p>
InProgress: The deployment lifecycle event is in progress.
</p>
</li>
<li>
<p>
Succeeded: The deployment lifecycle event ran successfully.
</p>
</li>
<li>
<p>
Failed: The deployment lifecycle event has failed.
</p>
</li>
<li>
<p>
Skipped: The deployment lifecycle event has been skipped.
</p>
</li>
<li>
<p>
Unknown: The deployment lifecycle event is unknown.
</p>
</li>
</ul>

@param status
       The deployment lifecycle event status:</p>
       <ul>
       <li>
       <p>
       Pending: The deployment lifecycle event is pending.
       </p>
       </li>
       <li>
       <p>
       InProgress: The deployment lifecycle event is in progress.
       </p>
       </li>
       <li>
       <p>
       Succeeded: The deployment lifecycle event ran successfully.
       </p>
       </li>
       <li>
       <p>
       Failed: The deployment lifecycle event has failed.
       </p>
       </li>
       <li>
       <p>
       Skipped: The deployment lifecycle event has been skipped.
       </p>
       </li>
       <li>
       <p>
       Unknown: The deployment lifecycle event is unknown.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see LifecycleEventStatus
aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/model/LifecycleEvent.java