Validate non-optional parameters and return new instance.
181475
public function build(): GetMatchedStylesForNodeRequest
	{
		$instance = new GetMatchedStylesForNodeRequest();
		if ($this->nodeId === null) {
			throw new BuilderException('Property [nodeId] is required.');
		}
		$instance->nodeId = $this->nodeId;
		return $instance;
	}
499426
public function build(): BindRequest
	{
		$instance = new BindRequest();
		if ($this->port === null) {
			throw new BuilderException('Property [port] is required.');
		}
		$instance->port = $this->port;
		return $instance;
	}
222067
public function build(): PerformSearchRequest
	{
		$instance = new PerformSearchRequest();
		if ($this->query === null) {
			throw new BuilderException('Property [query] is required.');
		}
		$instance->query = $this->query;
		$instance->includeUserAgentShadowDOM = $this->includeUserAgentShadowDOM;
		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;
	}
778739
public function build(): ReadRequest
	{
		$instance = new ReadRequest();
		if ($this->handle === null) {
			throw new BuilderException('Property [handle] is required.');
		}
		$instance->handle = $this->handle;
		$instance->offset = $this->offset;
		$instance->size = $this->size;
		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;
	}
686539
public function build(): GetBackgroundColorsRequest
	{
		$instance = new GetBackgroundColorsRequest();
		if ($this->nodeId === null) {
			throw new BuilderException('Property [nodeId] is required.');
		}
		$instance->nodeId = $this->nodeId;
		return $instance;
	}
836542
public function build(): FailRequestRequest
	{
		$instance = new FailRequestRequest();
		if ($this->requestId === null) {
			throw new BuilderException('Property [requestId] is required.');
		}
		$instance->requestId = $this->requestId;
		if ($this->errorReason === null) {
			throw new BuilderException('Property [errorReason] is required.');
		}
		$instance->errorReason = $this->errorReason;
		return $instance;
	}
358976
public function build(): TakeResponseBodyAsStreamRequest
	{
		$instance = new TakeResponseBodyAsStreamRequest();
		if ($this->requestId === null) {
			throw new BuilderException('Property [requestId] is required.');
		}
		$instance->requestId = $this->requestId;
		return $instance;
	}
337031
public function build(): LoadSnapshotRequest
	{
		$instance = new LoadSnapshotRequest();
		if ($this->tiles === null) {
			throw new BuilderException('Property [tiles] is required.');
		}
		$instance->tiles = $this->tiles;
		return $instance;
	}
440888
public function build(): SetAttributeValueRequest
	{
		$instance = new SetAttributeValueRequest();
		if ($this->nodeId === null) {
			throw new BuilderException('Property [nodeId] is required.');
		}
		$instance->nodeId = $this->nodeId;
		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;
		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;
	}
672125
public function build(): GetRealtimeDataRequest
	{
		$instance = new GetRealtimeDataRequest();
		if ($this->contextId === null) {
			throw new BuilderException('Property [contextId] is required.');
		}
		$instance->contextId = $this->contextId;
		return $instance;
	}
467727
public function build(): SetWebLifecycleStateRequest
	{
		$instance = new SetWebLifecycleStateRequest();
		if ($this->state === null) {
			throw new BuilderException('Property [state] is required.');
		}
		$instance->state = $this->state;
		return $instance;
	}
1033620
public function build(): GetHeapObjectIdRequest
	{
		$instance = new GetHeapObjectIdRequest();
		if ($this->objectId === null) {
			throw new BuilderException('Property [objectId] is required.');
		}
		$instance->objectId = $this->objectId;
		return $instance;
	}
271914
public function build(): SetRecordingRequest
	{
		$instance = new SetRecordingRequest();
		if ($this->shouldRecord === null) {
			throw new BuilderException('Property [shouldRecord] is required.');
		}
		$instance->shouldRecord = $this->shouldRecord;
		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;
	}