public Test withType(TestType type) {
        this.type = type.toString();
        return this;
    }
<p>
The test's type.
</p>
<p>
Must be one of the following values:
</p>
<ul>
<li>
<p>
BUILTIN_FUZZ
</p>
</li>
<li>
<p>
BUILTIN_EXPLORER
</p>
<note>
<p>
For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots at the
same time.
</p>
</note></li>
<li>
<p>
APPIUM_JAVA_JUNIT
</p>
</li>
<li>
<p>
APPIUM_JAVA_TESTNG
</p>
</li>
<li>
<p>
APPIUM_PYTHON
</p>
</li>
<li>
<p>
APPIUM_NODE
</p>
</li>
<li>
<p>
APPIUM_RUBY
</p>
</li>
<li>
<p>
APPIUM_WEB_JAVA_JUNIT
</p>
</li>
<li>
<p>
APPIUM_WEB_JAVA_TESTNG
</p>
</li>
<li>
<p>
APPIUM_WEB_PYTHON
</p>
</li>
<li>
<p>
APPIUM_WEB_NODE
</p>
</li>
<li>
<p>
APPIUM_WEB_RUBY
</p>
</li>
<li>
<p>
CALABASH
</p>
</li>
<li>
<p>
INSTRUMENTATION
</p>
</li>
<li>
<p>
UIAUTOMATION
</p>
</li>
<li>
<p>
UIAUTOMATOR
</p>
</li>
<li>
<p>
XCTEST
</p>
</li>
<li>
<p>
XCTEST_UI
</p>
</li>
</ul>

@param type
       The test's type.</p>
       <p>
       Must be one of the following values:
       </p>
       <ul>
       <li>
       <p>
       BUILTIN_FUZZ
       </p>
       </li>
       <li>
       <p>
       BUILTIN_EXPLORER
       </p>
       <note>
       <p>
       For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots
       at the same time.
       </p>
       </note></li>
       <li>
       <p>
       APPIUM_JAVA_JUNIT
       </p>
       </li>
       <li>
       <p>
       APPIUM_JAVA_TESTNG
       </p>
       </li>
       <li>
       <p>
       APPIUM_PYTHON
       </p>
       </li>
       <li>
       <p>
       APPIUM_NODE
       </p>
       </li>
       <li>
       <p>
       APPIUM_RUBY
       </p>
       </li>
       <li>
       <p>
       APPIUM_WEB_JAVA_JUNIT
       </p>
       </li>
       <li>
       <p>
       APPIUM_WEB_JAVA_TESTNG
       </p>
       </li>
       <li>
       <p>
       APPIUM_WEB_PYTHON
       </p>
       </li>
       <li>
       <p>
       APPIUM_WEB_NODE
       </p>
       </li>
       <li>
       <p>
       APPIUM_WEB_RUBY
       </p>
       </li>
       <li>
       <p>
       CALABASH
       </p>
       </li>
       <li>
       <p>
       INSTRUMENTATION
       </p>
       </li>
       <li>
       <p>
       UIAUTOMATION
       </p>
       </li>
       <li>
       <p>
       UIAUTOMATOR
       </p>
       </li>
       <li>
       <p>
       XCTEST
       </p>
       </li>
       <li>
       <p>
       XCTEST_UI
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see TestType
aws-java-sdk-devicefarm/src/main/java/com/amazonaws/services/devicefarm/model/Test.java