public Test withResult(String result) {
        setResult(result);
        return this;
    }
<p>
The test's result.
</p>
<p>
Allowed values include:
</p>
<ul>
<li>
<p>
PENDING
</p>
</li>
<li>
<p>
PASSED
</p>
</li>
<li>
<p>
WARNED
</p>
</li>
<li>
<p>
FAILED
</p>
</li>
<li>
<p>
SKIPPED
</p>
</li>
<li>
<p>
ERRORED
</p>
</li>
<li>
<p>
STOPPED
</p>
</li>
</ul>

@param result
       The test's result.</p>
       <p>
       Allowed values include:
       </p>
       <ul>
       <li>
       <p>
       PENDING
       </p>
       </li>
       <li>
       <p>
       PASSED
       </p>
       </li>
       <li>
       <p>
       WARNED
       </p>
       </li>
       <li>
       <p>
       FAILED
       </p>
       </li>
       <li>
       <p>
       SKIPPED
       </p>
       </li>
       <li>
       <p>
       ERRORED
       </p>
       </li>
       <li>
       <p>
       STOPPED
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see ExecutionResult
aws-java-sdk-devicefarm/src/main/java/com/amazonaws/services/devicefarm/model/Test.java