|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.CreateKeyPairResult
public class CreateKeyPairResult
The result of creating a new EC2 key pair.
Constructor Summary | |
---|---|
CreateKeyPairResult()
|
Method Summary | |
---|---|
KeyPair |
getKeyPair()
The newly created EC2 key pair. |
void |
setKeyPair(KeyPair keyPair)
The newly created EC2 key pair. |
String |
toString()
|
CreateKeyPairResult |
withKeyPair(KeyPair keyPair)
The newly created EC2 key pair. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateKeyPairResult()
Method Detail |
---|
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 String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |