Uses of Class
org.metricshub.winrm.WinRMClient.Builder
Packages that use WinRMClient.Builder
-
Uses of WinRMClient.Builder in org.metricshub.winrm
Methods in org.metricshub.winrm that return WinRMClient.BuilderModifier and TypeMethodDescriptionWinRMClient.Builder.authentication(AuthScheme... schemes) Set the authentication schemes, tried in the given order until one succeeds.static WinRMClient.BuilderStart building a client for the given host.WinRMClient.Builder.consoleCodePage(int consoleCodePage) Set the console code page of the remote command shell.WinRMClient.Builder.credentials(String username, char[] password) Set the credentials (mandatory).WinRMClient.Builder.http()Connect over HTTP (port 5985 unlessport(int)is set) — the default.WinRMClient.Builder.https()Connect over HTTPS (port 5986 unlessport(int)is set).Set the default WMI namespace for WQL queries.WinRMClient.Builder.port(int port) Set the port.WinRMClient.Builder.sslContext(SSLContext sslContext) Use a customSSLContextfor HTTPS — e.g. one built around a dedicated trust store.WinRMClient.Builder.ticketCache(Path ticketCache) Set the Kerberos ticket cache path.Set the default timeout of every operation — a wall-clock deadline covering authentication, every WSMan round trip, and result collection.WinRMClient.Builder.trustAllCertificates()Trust every server certificate and skip hostname verification over HTTPS — for self-signed test hosts.