public static final class PasswordAuthenticationScheme.Builder
extends java.lang.Object
PasswordAuthenticationScheme.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
PasswordAuthenticationScheme. |
| Modifier and Type | Method and Description |
|---|---|
PasswordAuthenticationScheme |
build() |
PasswordAuthenticationScheme.Builder |
setIdentityFile(java.lang.String identityFile)
SSH private key file name
|
PasswordAuthenticationScheme.Builder |
setPassword(java.lang.String password)
Password to authenticate with
|
PasswordAuthenticationScheme.Builder |
setSchemeName(java.lang.String schemeName)
Possible values are:
PasswordAuthenticationScheme.SCHEME_NAME_PASSWORD
PasswordAuthenticationScheme.SCHEME_NAME_KEY
Authentication scheme name |
PasswordAuthenticationScheme.Builder |
setUsername(java.lang.String username)
User name to authenticate with
|
public Builder()
PasswordAuthenticationScheme.public PasswordAuthenticationScheme.Builder setSchemeName(java.lang.String schemeName)
schemeName - New value for the property.public PasswordAuthenticationScheme.Builder setIdentityFile(java.lang.String identityFile)
identityFile - New value for the property.public PasswordAuthenticationScheme.Builder setPassword(java.lang.String password)
password - New value for the property.public PasswordAuthenticationScheme.Builder setUsername(java.lang.String username)
username - New value for the property.public PasswordAuthenticationScheme build()