public class KeyPairInfo
extends java.lang.Object
implements java.io.Serializable
Describes an Amazon EC2 key pair. This is a summary of the key pair data, and will not contain the actual private key material.
The private key material is only available when initially creating the key pair.
| コンストラクタと説明 |
|---|
KeyPairInfo() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getKeyFingerprint()
The SHA-1 digest of the DER encoded private key.
|
java.lang.String |
getKeyName()
The name of the key pair.
|
int |
hashCode() |
void |
setKeyFingerprint(java.lang.String keyFingerprint)
The SHA-1 digest of the DER encoded private key.
|
void |
setKeyName(java.lang.String keyName)
The name of the key pair.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
KeyPairInfo |
withKeyFingerprint(java.lang.String keyFingerprint)
The SHA-1 digest of the DER encoded private key.
|
KeyPairInfo |
withKeyName(java.lang.String keyName)
The name of the key pair.
|
public java.lang.String getKeyName()
public void setKeyName(java.lang.String keyName)
keyName - The name of the key pair.public KeyPairInfo withKeyName(java.lang.String keyName)
Returns a reference to this object so that method calls can be chained together.
keyName - The name of the key pair.public java.lang.String getKeyFingerprint()
public void setKeyFingerprint(java.lang.String keyFingerprint)
keyFingerprint - The SHA-1 digest of the DER encoded private key.public KeyPairInfo withKeyFingerprint(java.lang.String keyFingerprint)
Returns a reference to this object so that method calls can be chained together.
keyFingerprint - The SHA-1 digest of the DER encoded private key.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object