public class CreateKeyPairRequest extends AmazonWebServiceRequest implements java.io.Serializable
CreateKeyPair operation.
The CreateKeyPair operation creates a new 2048 bit RSA key pair and returns a unique ID that can be used to reference this key pair when launching new instances. For more information, see RunInstances.
| コンストラクタと説明 |
|---|
CreateKeyPairRequest()
Default constructor for a new CreateKeyPairRequest object.
|
CreateKeyPairRequest(java.lang.String keyName)
Constructs a new CreateKeyPairRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getKeyName()
The unique name for the new key pair.
|
int |
hashCode() |
void |
setKeyName(java.lang.String keyName)
The unique name for the new key pair.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateKeyPairRequest |
withKeyName(java.lang.String keyName)
The unique name for the new key pair.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic CreateKeyPairRequest()
public CreateKeyPairRequest(java.lang.String keyName)
keyName - The unique name for the new key pair.public java.lang.String getKeyName()
public void setKeyName(java.lang.String keyName)
keyName - The unique name for the new key pair.public CreateKeyPairRequest withKeyName(java.lang.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 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