public static final class Credentials.Builder extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Builder(String m_hostname)
Create a new Credentials builder
|
| Modifier and Type | Method and Description |
|---|---|
Credentials |
build()
Returns a
Credentials object |
Credentials.Builder |
defaultRemotePath(String m_defaultRemotePath)
Set the default remote path
|
Credentials.Builder |
password(char[] m_password)
Set the password
|
Credentials.Builder |
port(int m_portNumber)
Set the port number
|
Credentials.Builder |
protocol(String m_protocol)
Set the server type
|
Credentials.Builder |
username(String m_username)
Set the username
|
protected Builder(String m_hostname)
m_hostname - The hostnamepublic Credentials build()
Credentials objectCredentials objectpublic Credentials.Builder password(char[] m_password)
m_password - The password char arraypublic Credentials.Builder protocol(String m_protocol)
m_protocol - The server typepublic Credentials.Builder port(int m_portNumber)
m_portNumber - The port numberpublic Credentials.Builder defaultRemotePath(String m_defaultRemotePath)
m_defaultRemotePath - The default remote pathpublic Credentials.Builder username(String m_username)
m_username - The usernameCopyright © 2020. All rights reserved.