public CreateRemoteAccessSessionRequest withInteractionMode(String interactionMode) {
        setInteractionMode(interactionMode);
        return this;
    }
<p>
The interaction mode of the remote access session. Valid values are:
</p>
<ul>
<li>
<p>
INTERACTIVE: You can interact with the iOS device by viewing, touching, and rotating the screen. You cannot run
XCUITest framework-based tests in this mode.
</p>
</li>
<li>
<p>
NO_VIDEO: You are connected to the device, but cannot interact with it or view the screen. This mode has the
fastest test execution speed. You can run XCUITest framework-based tests in this mode.
</p>
</li>
<li>
<p>
VIDEO_ONLY: You can view the screen, but cannot touch or rotate it. You can run XCUITest framework-based tests
and watch the screen in this mode.
</p>
</li>
</ul>

@param interactionMode
       The interaction mode of the remote access session. Valid values are:</p>
       <ul>
       <li>
       <p>
       INTERACTIVE: You can interact with the iOS device by viewing, touching, and rotating the screen. You
       cannot run XCUITest framework-based tests in this mode.
       </p>
       </li>
       <li>
       <p>
       NO_VIDEO: You are connected to the device, but cannot interact with it or view the screen. This mode has
       the fastest test execution speed. You can run XCUITest framework-based tests in this mode.
       </p>
       </li>
       <li>
       <p>
       VIDEO_ONLY: You can view the screen, but cannot touch or rotate it. You can run XCUITest framework-based
       tests and watch the screen in this mode.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see InteractionMode
aws-java-sdk-devicefarm/src/main/java/com/amazonaws/services/devicefarm/model/CreateRemoteAccessSessionRequest.java