public class SshPrivateKeyAuthentication extends EntityPropertiesBuilder
| Constructor and Description |
|---|
SshPrivateKeyAuthentication(String sshPrivateKey)
Specifies new ssh credentials with given private key.
|
| Modifier and Type | Method and Description |
|---|---|
protected SshPrivateKeyAuthenticationProperties |
build() |
SshPrivateKeyAuthentication |
passphrase(String passphrase)
Sets passphrase for the private key.
|
SshPrivateKeyAuthentication |
sshPrivateKey(String sshPrivateKey)
Sets private key.
|
public SshPrivateKeyAuthentication(String sshPrivateKey)
sshPrivateKey - private keypublic SshPrivateKeyAuthentication sshPrivateKey(String sshPrivateKey)
sshPrivateKey - private keypublic SshPrivateKeyAuthentication passphrase(@Nullable String passphrase)
passphrase - passphraseprotected SshPrivateKeyAuthenticationProperties build()
build in class EntityPropertiesBuilderCopyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.