public Test withStatus(ExecutionStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
The test's status.
</p>
<p>
Allowed values include:
</p>
<ul>
<li>
<p>
PENDING
</p>
</li>
<li>
<p>
PENDING_CONCURRENCY
</p>
</li>
<li>
<p>
PENDING_DEVICE
</p>
</li>
<li>
<p>
PROCESSING
</p>
</li>
<li>
<p>
SCHEDULING
</p>
</li>
<li>
<p>
PREPARING
</p>
</li>
<li>
<p>
RUNNING
</p>
</li>
<li>
<p>
COMPLETED
</p>
</li>
<li>
<p>
STOPPING
</p>
</li>
</ul>

@param status
       The test's status.</p>
       <p>
       Allowed values include:
       </p>
       <ul>
       <li>
       <p>
       PENDING
       </p>
       </li>
       <li>
       <p>
       PENDING_CONCURRENCY
       </p>
       </li>
       <li>
       <p>
       PENDING_DEVICE
       </p>
       </li>
       <li>
       <p>
       PROCESSING
       </p>
       </li>
       <li>
       <p>
       SCHEDULING
       </p>
       </li>
       <li>
       <p>
       PREPARING
       </p>
       </li>
       <li>
       <p>
       RUNNING
       </p>
       </li>
       <li>
       <p>
       COMPLETED
       </p>
       </li>
       <li>
       <p>
       STOPPING
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see ExecutionStatus
aws-java-sdk-devicefarm/src/main/java/com/amazonaws/services/devicefarm/model/Test.java