Validate non-optional parameters and return new instance.
505191
public function build(): ScreencastFrameAckRequest
	{
		$instance = new ScreencastFrameAckRequest();
		if ($this->sessionId === null) {
			throw new BuilderException('Property [sessionId] is required.');
		}
		$instance->sessionId = $this->sessionId;
		return $instance;
	}
1166051
public function build(): SynthesizeTapGestureRequest
	{
		$instance = new SynthesizeTapGestureRequest();
		if ($this->x === null) {
			throw new BuilderException('Property [x] is required.');
		}
		$instance->x = $this->x;
		if ($this->y === null) {
			throw new BuilderException('Property [y] is required.');
		}
		$instance->y = $this->y;
		$instance->duration = $this->duration;
		$instance->tapCount = $this->tapCount;
		$instance->gestureSourceType = $this->gestureSourceType;
		return $instance;
	}
339001
public function build(): UpdateRegistrationRequest
	{
		$instance = new UpdateRegistrationRequest();
		if ($this->scopeURL === null) {
			throw new BuilderException('Property [scopeURL] is required.');
		}
		$instance->scopeURL = $this->scopeURL;
		return $instance;
	}
378944
public function build(): CaptureSnapshotRequest
	{
		$instance = new CaptureSnapshotRequest();
		if ($this->computedStyles === null) {
			throw new BuilderException('Property [computedStyles] is required.');
		}
		$instance->computedStyles = $this->computedStyles;
		return $instance;
	}
242941
public function build(): GetPropertiesRequest
	{
		$instance = new GetPropertiesRequest();
		if ($this->objectId === null) {
			throw new BuilderException('Property [objectId] is required.');
		}
		$instance->objectId = $this->objectId;
		$instance->ownProperties = $this->ownProperties;
		$instance->accessorPropertiesOnly = $this->accessorPropertiesOnly;
		$instance->generatePreview = $this->generatePreview;
		return $instance;
	}
1042643
public function build(): SetDownloadBehaviorRequest
	{
		$instance = new SetDownloadBehaviorRequest();
		if ($this->behavior === null) {
			throw new BuilderException('Property [behavior] is required.');
		}
		$instance->behavior = $this->behavior;
		$instance->downloadPath = $this->downloadPath;
		return $instance;
	}
1224584
public function build(): DispatchSyncEventRequest
	{
		$instance = new DispatchSyncEventRequest();
		if ($this->origin === null) {
			throw new BuilderException('Property [origin] is required.');
		}
		$instance->origin = $this->origin;
		if ($this->registrationId === null) {
			throw new BuilderException('Property [registrationId] is required.');
		}
		$instance->registrationId = $this->registrationId;
		if ($this->tag === null) {
			throw new BuilderException('Property [tag] is required.');
		}
		$instance->tag = $this->tag;
		if ($this->lastChance === null) {
			throw new BuilderException('Property [lastChance] is required.');
		}
		$instance->lastChance = $this->lastChance;
		return $instance;
	}
293509
public function build(): SetSamplingIntervalRequest
	{
		$instance = new SetSamplingIntervalRequest();
		if ($this->interval === null) {
			throw new BuilderException('Property [interval] is required.');
		}
		$instance->interval = $this->interval;
		return $instance;
	}
667837
public function build(): RestartFrameRequest
	{
		$instance = new RestartFrameRequest();
		if ($this->callFrameId === null) {
			throw new BuilderException('Property [callFrameId] is required.');
		}
		$instance->callFrameId = $this->callFrameId;
		return $instance;
	}
225852
public function build(): SearchInResponseBodyRequest
	{
		$instance = new SearchInResponseBodyRequest();
		if ($this->requestId === null) {
			throw new BuilderException('Property [requestId] is required.');
		}
		$instance->requestId = $this->requestId;
		if ($this->query === null) {
			throw new BuilderException('Property [query] is required.');
		}
		$instance->query = $this->query;
		$instance->caseSensitive = $this->caseSensitive;
		$instance->isRegex = $this->isRegex;
		return $instance;
	}
1063127
public function build(): GetResourceContentRequest
	{
		$instance = new GetResourceContentRequest();
		if ($this->frameId === null) {
			throw new BuilderException('Property [frameId] is required.');
		}
		$instance->frameId = $this->frameId;
		if ($this->url === null) {
			throw new BuilderException('Property [url] is required.');
		}
		$instance->url = $this->url;
		return $instance;
	}
440800
public function build(): StartObservingRequest
	{
		$instance = new StartObservingRequest();
		if ($this->service === null) {
			throw new BuilderException('Property [service] is required.');
		}
		$instance->service = $this->service;
		return $instance;
	}
909300
public function build(): AddRuleRequest
	{
		$instance = new AddRuleRequest();
		if ($this->styleSheetId === null) {
			throw new BuilderException('Property [styleSheetId] is required.');
		}
		$instance->styleSheetId = $this->styleSheetId;
		if ($this->ruleText === null) {
			throw new BuilderException('Property [ruleText] is required.');
		}
		$instance->ruleText = $this->ruleText;
		if ($this->location === null) {
			throw new BuilderException('Property [location] is required.');
		}
		$instance->location = $this->location;
		return $instance;
	}
989298
public function build(): AddBindingRequest
	{
		$instance = new AddBindingRequest();
		if ($this->name === null) {
			throw new BuilderException('Property [name] is required.');
		}
		$instance->name = $this->name;
		$instance->executionContextId = $this->executionContextId;
		return $instance;
	}
156987
public function build(): AwaitPromiseRequest
	{
		$instance = new AwaitPromiseRequest();
		if ($this->promiseObjectId === null) {
			throw new BuilderException('Property [promiseObjectId] is required.');
		}
		$instance->promiseObjectId = $this->promiseObjectId;
		$instance->returnByValue = $this->returnByValue;
		$instance->generatePreview = $this->generatePreview;
		return $instance;
	}
1183776
public function build(): SetIgnoreInputEventsRequest
	{
		$instance = new SetIgnoreInputEventsRequest();
		if ($this->ignore === null) {
			throw new BuilderException('Property [ignore] is required.');
		}
		$instance->ignore = $this->ignore;
		return $instance;
	}
264200
public function build(): GetObjectByHeapObjectIdRequest
	{
		$instance = new GetObjectByHeapObjectIdRequest();
		if ($this->objectId === null) {
			throw new BuilderException('Property [objectId] is required.');
		}
		$instance->objectId = $this->objectId;
		$instance->objectGroup = $this->objectGroup;
		return $instance;
	}