public class CreateKeyPairResult
extends java.lang.Object
implements java.io.Serializable
The result of creating a new EC2 key pair.
| コンストラクタと説明 |
|---|
CreateKeyPairResult() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
KeyPair |
getKeyPair()
The newly created EC2 key pair.
|
int |
hashCode() |
void |
setKeyPair(KeyPair keyPair)
The newly created EC2 key pair.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateKeyPairResult |
withKeyPair(KeyPair keyPair)
The newly created EC2 key pair.
|
public KeyPair getKeyPair()
public void setKeyPair(KeyPair keyPair)
keyPair - The newly created EC2 key pair.public CreateKeyPairResult withKeyPair(KeyPair keyPair)
Returns a reference to this object so that method calls can be chained together.
keyPair - The newly created EC2 key pair.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