Package org.jclouds.ec2.domain
Class KeyPair
- java.lang.Object
-
- org.jclouds.ec2.domain.KeyPair
-
- All Implemented Interfaces:
Comparable<KeyPair>
public class KeyPair extends Object implements Comparable<KeyPair>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KeyPair.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static KeyPair.Builder
builder()
int
compareTo(KeyPair o)
boolean
equals(Object obj)
String
getFingerprint()
fingerprint per the following specString
getKeyMaterial()
An unencrypted PEM encoded RSA private key.String
getKeyName()
The key pair name provided in the original request.String
getRegion()
Deprecated.String
getSha1OfPrivateKey()
A SHA-1 digest of the DER encoded private key.int
hashCode()
KeyPair.Builder
toBuilder()
String
toString()
-
-
-
Method Detail
-
builder
public static KeyPair.Builder builder()
-
getRegion
@Deprecated public String getRegion()
Deprecated.To be removed in jclouds 1.6Warning
Especially on EC2 clones that may not support regions, this value is fragile. Consider alternate means to determine context.
-
compareTo
public int compareTo(KeyPair o)
- Specified by:
compareTo
in interfaceComparable<KeyPair>
-
getSha1OfPrivateKey
public String getSha1OfPrivateKey()
A SHA-1 digest of the DER encoded private key.
-
getKeyMaterial
public String getKeyMaterial()
An unencrypted PEM encoded RSA private key.
-
getKeyName
public String getKeyName()
The key pair name provided in the original request.
-
toBuilder
public KeyPair.Builder toBuilder()
-
-