public class

RundeckClientBuilder

extends Object
java.lang.Object
   ↳ org.rundeck.api.RundeckClientBuilder

Class Overview

Builder to build a RundeckClient, you must specify a url, and at least one of (login, password), token, or sessionId.

Summary

Public Methods
RundeckClient build()
Create the RundeckClient instance
RundeckClientBuilder login(String login)
RundeckClientBuilder login(String login, String password)
RundeckClientBuilder password(String password)
RundeckClientBuilder sessionId(String id)
Specify a web session ID string for authentication
RundeckClientBuilder sslCertificateTrustAllowSelfSigned(boolean sslCertificateTrustAllowSelfSigned)
Specify whether SSL certificate trust allows self-signed certs, otherwise it will use the default
RundeckClientBuilder sslHostnameVerifyAllowAll(boolean sslHostnameVerifyAllowAll)
Specify whether SSL hostname verifier allows all, otherwise it will use the default
RundeckClientBuilder systemProxyEnabled(boolean systemProxyEnabled)
Specify whether to use system proxy settings, default false
RundeckClientBuilder token(String token)
Specify a Rundeck API Token string for authentication
RundeckClientBuilder url(String url)
Specify the URL
RundeckClientBuilder version(int version)
Specify another version number to use
RundeckClientBuilder version(RundeckClient.Version version)
Specify another version number to use
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public RundeckClient build ()

Create the RundeckClient instance

public RundeckClientBuilder login (String login)

public RundeckClientBuilder login (String login, String password)

public RundeckClientBuilder password (String password)

public RundeckClientBuilder sessionId (String id)

Specify a web session ID string for authentication

public RundeckClientBuilder sslCertificateTrustAllowSelfSigned (boolean sslCertificateTrustAllowSelfSigned)

Specify whether SSL certificate trust allows self-signed certs, otherwise it will use the default

public RundeckClientBuilder sslHostnameVerifyAllowAll (boolean sslHostnameVerifyAllowAll)

Specify whether SSL hostname verifier allows all, otherwise it will use the default

public RundeckClientBuilder systemProxyEnabled (boolean systemProxyEnabled)

Specify whether to use system proxy settings, default false

public RundeckClientBuilder token (String token)

Specify a Rundeck API Token string for authentication

public RundeckClientBuilder url (String url)

Specify the URL

public RundeckClientBuilder version (int version)

Specify another version number to use

public RundeckClientBuilder version (RundeckClient.Version version)

Specify another version number to use