public UpdateEnvironmentRequest withDesktopArn(String desktopArn) {
        setDesktopArn(desktopArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
</p>

@param desktopArn
       The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or
       AppStream 2.0.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workspacesthinclient/src/main/java/com/amazonaws/services/workspacesthinclient/model/UpdateEnvironmentRequest.java