Sets the name of the service that acts as a factory using the factory method.
@api
string $factoryService The factory service id:
Definition The current instance
public function setFactoryService($factoryService) {
$this->factoryService = $factoryService;
return $this;
}