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 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 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