cluster_name)) { throw new RuntimeException('Missing parameter for the endpoint security.update_distinguished_names'); } return "/_plugins/_security/api/nodesdn/{$this->cluster_name}"; } public function getMethod(): string { return 'PUT'; } /** * @param string|null $cluster_name * @return UpdateDistinguishedNames */ public function setClusterName(?string $cluster_name): UpdateDistinguishedNames { $this->cluster_name = $cluster_name; return $this; } }