public class SshPrivateKeyAuthentication extends EntityPropertiesBuilder<SshPrivateKeyAuthenticationProperties>
| 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(@Nullable 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 @Nullable String passphrase)
passphrase - passphraseprotected SshPrivateKeyAuthenticationProperties build()
build in class EntityPropertiesBuilder<SshPrivateKeyAuthenticationProperties>Copyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.