@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateKeyPairResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateKeyPairResult() |
Modifier and Type | Method and Description |
---|---|
CreateKeyPairResult |
clone() |
boolean |
equals(Object obj) |
KeyPair |
getKeyPair()
An array of key-value pairs containing information about the new key pair you just created.
|
Operation |
getOperation()
An array of objects that describe the result of the action, such as the status of the request, the timestamp of
the request, and the resources affected by the request.
|
String |
getPrivateKeyBase64()
A base64-encoded RSA private key.
|
String |
getPublicKeyBase64()
A base64-encoded public key of the
ssh-rsa type. |
int |
hashCode() |
void |
setKeyPair(KeyPair keyPair)
An array of key-value pairs containing information about the new key pair you just created.
|
void |
setOperation(Operation operation)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of
the request, and the resources affected by the request.
|
void |
setPrivateKeyBase64(String privateKeyBase64)
A base64-encoded RSA private key.
|
void |
setPublicKeyBase64(String publicKeyBase64)
A base64-encoded public key of the
ssh-rsa type. |
String |
toString()
Returns a string representation of this object.
|
CreateKeyPairResult |
withKeyPair(KeyPair keyPair)
An array of key-value pairs containing information about the new key pair you just created.
|
CreateKeyPairResult |
withOperation(Operation operation)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of
the request, and the resources affected by the request.
|
CreateKeyPairResult |
withPrivateKeyBase64(String privateKeyBase64)
A base64-encoded RSA private key.
|
CreateKeyPairResult |
withPublicKeyBase64(String publicKeyBase64)
A base64-encoded public key of the
ssh-rsa type. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setKeyPair(KeyPair keyPair)
An array of key-value pairs containing information about the new key pair you just created.
keyPair
- An array of key-value pairs containing information about the new key pair you just created.public KeyPair getKeyPair()
An array of key-value pairs containing information about the new key pair you just created.
public CreateKeyPairResult withKeyPair(KeyPair keyPair)
An array of key-value pairs containing information about the new key pair you just created.
keyPair
- An array of key-value pairs containing information about the new key pair you just created.public void setPublicKeyBase64(String publicKeyBase64)
A base64-encoded public key of the ssh-rsa
type.
publicKeyBase64
- A base64-encoded public key of the ssh-rsa
type.public String getPublicKeyBase64()
A base64-encoded public key of the ssh-rsa
type.
ssh-rsa
type.public CreateKeyPairResult withPublicKeyBase64(String publicKeyBase64)
A base64-encoded public key of the ssh-rsa
type.
publicKeyBase64
- A base64-encoded public key of the ssh-rsa
type.public void setPrivateKeyBase64(String privateKeyBase64)
A base64-encoded RSA private key.
privateKeyBase64
- A base64-encoded RSA private key.public String getPrivateKeyBase64()
A base64-encoded RSA private key.
public CreateKeyPairResult withPrivateKeyBase64(String privateKeyBase64)
A base64-encoded RSA private key.
privateKeyBase64
- A base64-encoded RSA private key.public void setOperation(Operation operation)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
operation
- An array of objects that describe the result of the action, such as the status of the request, the
timestamp of the request, and the resources affected by the request.public Operation getOperation()
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
public CreateKeyPairResult withOperation(Operation operation)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
operation
- An array of objects that describe the result of the action, such as the status of the request, the
timestamp of the request, and the resources affected by the request.public String toString()
toString
in class Object
Object.toString()
public CreateKeyPairResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.