Validate non-optional parameters and return new instance.
342500
public function build(): SetVirtualTimePolicyRequest
	{
		$instance = new SetVirtualTimePolicyRequest();
		if ($this->policy === null) {
			throw new BuilderException('Property [policy] is required.');
		}
		$instance->policy = $this->policy;
		$instance->budget = $this->budget;
		$instance->maxVirtualTimeTaskStarvationCount = $this->maxVirtualTimeTaskStarvationCount;
		$instance->waitForNavigation = $this->waitForNavigation;
		$instance->initialVirtualTime = $this->initialVirtualTime;
		return $instance;
	}
1020955
public function build(): StartViolationsReportRequest
	{
		$instance = new StartViolationsReportRequest();
		if ($this->config === null) {
			throw new BuilderException('Property [config] is required.');
		}
		$instance->config = $this->config;
		return $instance;
	}
455774
public function build(): SetLifecycleEventsEnabledRequest
	{
		$instance = new SetLifecycleEventsEnabledRequest();
		if ($this->enabled === null) {
			throw new BuilderException('Property [enabled] is required.');
		}
		$instance->enabled = $this->enabled;
		return $instance;
	}
1307252
public function build(): SetShowPaintRectsRequest
	{
		$instance = new SetShowPaintRectsRequest();
		if ($this->result === null) {
			throw new BuilderException('Property [result] is required.');
		}
		$instance->result = $this->result;
		return $instance;
	}
28795
public function build(): GetFrameOwnerRequest
	{
		$instance = new GetFrameOwnerRequest();
		if ($this->frameId === null) {
			throw new BuilderException('Property [frameId] is required.');
		}
		$instance->frameId = $this->frameId;
		return $instance;
	}
860933
public function build(): SetExtraHTTPHeadersRequest
	{
		$instance = new SetExtraHTTPHeadersRequest();
		if ($this->headers === null) {
			throw new BuilderException('Property [headers] is required.');
		}
		$instance->headers = $this->headers;
		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;
	}
1017626
public function build(): GetUsageAndQuotaRequest
	{
		$instance = new GetUsageAndQuotaRequest();
		if ($this->origin === null) {
			throw new BuilderException('Property [origin] is required.');
		}
		$instance->origin = $this->origin;
		return $instance;
	}
878785
public function build(): StartWorkerRequest
	{
		$instance = new StartWorkerRequest();
		if ($this->scopeURL === null) {
			throw new BuilderException('Property [scopeURL] is required.');
		}
		$instance->scopeURL = $this->scopeURL;
		return $instance;
	}
37142
public function build(): SetDiscoverTargetsRequest
	{
		$instance = new SetDiscoverTargetsRequest();
		if ($this->discover === null) {
			throw new BuilderException('Property [discover] is required.');
		}
		$instance->discover = $this->discover;
		return $instance;
	}
965815
public function build(): StopWorkerRequest
	{
		$instance = new StopWorkerRequest();
		if ($this->versionId === null) {
			throw new BuilderException('Property [versionId] is required.');
		}
		$instance->versionId = $this->versionId;
		return $instance;
	}
451012
public function build(): GetResponseBodyForInterceptionRequest
	{
		$instance = new GetResponseBodyForInterceptionRequest();
		if ($this->interceptionId === null) {
			throw new BuilderException('Property [interceptionId] is required.');
		}
		$instance->interceptionId = $this->interceptionId;
		return $instance;
	}
297487
public function build(): SetCookieRequest
	{
		$instance = new SetCookieRequest();
		if ($this->name === null) {
			throw new BuilderException('Property [name] is required.');
		}
		$instance->name = $this->name;
		if ($this->value === null) {
			throw new BuilderException('Property [value] is required.');
		}
		$instance->value = $this->value;
		$instance->url = $this->url;
		$instance->domain = $this->domain;
		$instance->path = $this->path;
		$instance->secure = $this->secure;
		$instance->httpOnly = $this->httpOnly;
		$instance->sameSite = $this->sameSite;
		$instance->expires = $this->expires;
		return $instance;
	}
452399
public function build(): NavigateRequest
	{
		$instance = new NavigateRequest();
		if ($this->url === null) {
			throw new BuilderException('Property [url] is required.');
		}
		$instance->url = $this->url;
		$instance->referrer = $this->referrer;
		$instance->transitionType = $this->transitionType;
		$instance->frameId = $this->frameId;
		return $instance;
	}
1044197
public function build(): RequestDatabaseRequest
	{
		$instance = new RequestDatabaseRequest();
		if ($this->securityOrigin === null) {
			throw new BuilderException('Property [securityOrigin] is required.');
		}
		$instance->securityOrigin = $this->securityOrigin;
		if ($this->databaseName === null) {
			throw new BuilderException('Property [databaseName] is required.');
		}
		$instance->databaseName = $this->databaseName;
		return $instance;
	}
632810
public function build(): GetAttributesRequest
	{
		$instance = new GetAttributesRequest();
		if ($this->nodeId === null) {
			throw new BuilderException('Property [nodeId] is required.');
		}
		$instance->nodeId = $this->nodeId;
		return $instance;
	}
519354
public function build(): SetPauseOnExceptionsRequest
	{
		$instance = new SetPauseOnExceptionsRequest();
		if ($this->state === null) {
			throw new BuilderException('Property [state] is required.');
		}
		$instance->state = $this->state;
		return $instance;
	}