@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 key-value pairs containing information about the results of your create key pair 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 key-value pairs containing information about the results of your create key pair 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; useful for testing and debugging.
|
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 key-value pairs containing information about the results of your create key pair 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 key-value pairs containing information about the results of your create key pair request.
operation
- An array of key-value pairs containing information about the results of your create key pair request.public Operation getOperation()
An array of key-value pairs containing information about the results of your create key pair request.
public CreateKeyPairResult withOperation(Operation operation)
An array of key-value pairs containing information about the results of your create key pair request.
operation
- An array of key-value pairs containing information about the results of your create key pair request.public String toString()
toString
in class Object
Object.toString()
public CreateKeyPairResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.