|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.CreateKeyPairRequest
public class CreateKeyPairRequest
Represents a request to create a new EC2 key pair.
| Constructor Summary | |
|---|---|
CreateKeyPairRequest()
|
|
| Method Summary | |
|---|---|
String |
getKeyName()
The unique name for the new key pair. |
void |
setKeyName(String keyName)
The unique name for the new key pair. |
String |
toString()
|
CreateKeyPairRequest |
withKeyName(String keyName)
The unique name for the new key pair. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CreateKeyPairRequest()
| Method Detail |
|---|
public String getKeyName()
public void setKeyName(String keyName)
keyName - The unique name for the new key pair.public CreateKeyPairRequest withKeyName(String keyName)
Returns a reference to this object so that method calls can be chained together.
keyName - The unique name for the new 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 | |||||||||