action_group)) { throw new RuntimeException('Missing parameter for the endpoint security.create_action_group'); } return "/_plugins/_security/api/actiongroups/$this->action_group"; } public function getMethod(): string { return 'PUT'; } /** * @param string|null $action_group * @return CreateActionGroup */ public function setActionGroup(?string $action_group): CreateActionGroup { $this->action_group = $action_group; return $this; } }