public abstract static class SshKeyPair.Builder<T extends SshKeyPair.Builder<T>> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
fingerprint |
protected String |
name |
protected String |
privateKey |
| Constructor and Description |
|---|
SshKeyPair.Builder() |
| Modifier and Type | Method and Description |
|---|---|
SshKeyPair |
build() |
T |
fingerprint(String fingerprint) |
T |
fromSshKeyPair(SshKeyPair in) |
T |
name(String name) |
T |
privateKey(String privateKey) |
protected abstract T |
self() |
protected String fingerprint
protected String name
protected String privateKey
protected abstract T self()
public T fingerprint(String fingerprint)
SshKeyPair.getFingerprint()public T name(String name)
SshKeyPair.getName()public T privateKey(String privateKey)
SshKeyPair.getPrivateKey()public SshKeyPair build()
public T fromSshKeyPair(SshKeyPair in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.