@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()
Describes a key pair.
|
int |
hashCode() |
void |
setKeyPair(KeyPair keyPair)
Describes a key pair.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateKeyPairResult |
withKeyPair(KeyPair keyPair)
Describes a key pair.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setKeyPair(KeyPair keyPair)
Describes a key pair.
keyPair
- Describes a key pair.public KeyPair getKeyPair()
Describes a key pair.
public CreateKeyPairResult withKeyPair(KeyPair keyPair)
Describes a key pair.
keyPair
- Describes a key pair.public String toString()
toString
in class Object
Object.toString()
public CreateKeyPairResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.