Sets the factory method able to create an instance of this class.
@api
string $factoryMethod The factory method name:
Definition The current instance
public function setFactoryMethod($factoryMethod) {
$this->factoryMethod = $factoryMethod;
return $this;
}