public class KeyPair extends Object implements Comparable<KeyPair>
Modifier and Type | Class and Description |
---|---|
static class |
KeyPair.Builder |
Constructor and Description |
---|
KeyPair(String region,
String keyName,
String sha1OfPrivateKey,
String keyMaterial,
String fingerprint) |
Modifier and Type | Method and Description |
---|---|
static KeyPair.Builder |
builder() |
int |
compareTo(KeyPair o) |
boolean |
equals(Object obj) |
String |
getFingerprint()
fingerprint per the following spec
|
String |
getKeyMaterial()
An unencrypted PEM encoded RSA private key.
|
String |
getKeyName()
The key pair name provided in the original request.
|
String |
getRegion()
Key pairs (to connect to instances) are Region-specific.
|
String |
getSha1OfPrivateKey()
A SHA-1 digest of the DER encoded private key.
|
int |
hashCode() |
KeyPair.Builder |
toBuilder() |
String |
toString() |
public static KeyPair.Builder builder()
public String getRegion()
public int compareTo(KeyPair o)
compareTo
in interface Comparable<KeyPair>
public String getSha1OfPrivateKey()
public String getKeyMaterial()
public String getKeyName()
public KeyPair.Builder toBuilder()
Copyright © 2009-2012 jclouds. All Rights Reserved.