|
|||||||
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 | |
---|---|
boolean |
equals(Object obj)
|
KeyPair |
getKeyPair()
The newly created EC2 key pair. |
int |
hashCode()
|
void |
setKeyPair(KeyPair keyPair)
The newly created EC2 key pair. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateKeyPairResult |
withKeyPair(KeyPair keyPair)
The newly created EC2 key pair. |
Methods inherited from class java.lang.Object |
---|
getClass, 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
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |