Package org.jclouds.domain
Class LoginCredentials.Builder
- java.lang.Object
-
- org.jclouds.domain.Credentials.Builder<LoginCredentials>
-
- org.jclouds.domain.LoginCredentials.Builder
-
- Enclosing class:
- LoginCredentials
public static class LoginCredentials.Builder extends Credentials.Builder<LoginCredentials>
-
-
Field Summary
-
Fields inherited from class org.jclouds.domain.Credentials.Builder
credential, identity
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoginCredentials.Builder
authenticateSudo(boolean authenticateSudo)
LoginCredentials
build()
LoginCredentials.Builder
credential(String credential)
LoginCredentials.Builder
identity(String identity)
LoginCredentials.Builder
noPassword()
LoginCredentials.Builder
noPrivateKey()
LoginCredentials.Builder
password(String password)
LoginCredentials.Builder
privateKey(String privateKey)
LoginCredentials.Builder
user(String user)
-
-
-
Method Detail
-
identity
public LoginCredentials.Builder identity(String identity)
- Overrides:
identity
in classCredentials.Builder<LoginCredentials>
-
user
public LoginCredentials.Builder user(String user)
-
password
public LoginCredentials.Builder password(String password)
-
noPassword
public LoginCredentials.Builder noPassword()
-
privateKey
public LoginCredentials.Builder privateKey(String privateKey)
-
noPrivateKey
public LoginCredentials.Builder noPrivateKey()
-
credential
public LoginCredentials.Builder credential(String credential)
- Overrides:
credential
in classCredentials.Builder<LoginCredentials>
-
authenticateSudo
public LoginCredentials.Builder authenticateSudo(boolean authenticateSudo)
-
build
public LoginCredentials build()
- Overrides:
build
in classCredentials.Builder<LoginCredentials>
-
-