public class ImportKeyPairResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of ImportKeyPair.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
keyFingerprint
The MD5 public key fingerprint as specified in section 4 of RFC 4716.
|
private java.lang.String |
keyName
The key pair name you provided.
|
Constructor and Description |
---|
ImportKeyPairResult() |
Modifier and Type | Method and Description |
---|---|
ImportKeyPairResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getKeyFingerprint()
The MD5 public key fingerprint as specified in section 4 of RFC 4716.
|
java.lang.String |
getKeyName()
The key pair name you provided.
|
int |
hashCode() |
void |
setKeyFingerprint(java.lang.String keyFingerprint)
The MD5 public key fingerprint as specified in section 4 of RFC 4716.
|
void |
setKeyName(java.lang.String keyName)
The key pair name you provided.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ImportKeyPairResult |
withKeyFingerprint(java.lang.String keyFingerprint)
The MD5 public key fingerprint as specified in section 4 of RFC 4716.
|
ImportKeyPairResult |
withKeyName(java.lang.String keyName)
The key pair name you provided.
|
private java.lang.String keyName
The key pair name you provided.
private java.lang.String keyFingerprint
The MD5 public key fingerprint as specified in section 4 of RFC 4716.
public void setKeyName(java.lang.String keyName)
The key pair name you provided.
keyName
- The key pair name you provided.public java.lang.String getKeyName()
The key pair name you provided.
public ImportKeyPairResult withKeyName(java.lang.String keyName)
The key pair name you provided.
keyName
- The key pair name you provided.public void setKeyFingerprint(java.lang.String keyFingerprint)
The MD5 public key fingerprint as specified in section 4 of RFC 4716.
keyFingerprint
- The MD5 public key fingerprint as specified in section 4 of RFC
4716.public java.lang.String getKeyFingerprint()
The MD5 public key fingerprint as specified in section 4 of RFC 4716.
public ImportKeyPairResult withKeyFingerprint(java.lang.String keyFingerprint)
The MD5 public key fingerprint as specified in section 4 of RFC 4716.
keyFingerprint
- The MD5 public key fingerprint as specified in section 4 of RFC
4716.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ImportKeyPairResult clone()
clone
in class java.lang.Object