@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetKeyPairResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetKeyPairResult() |
Modifier and Type | Method and Description |
---|---|
GetKeyPairResult |
clone() |
boolean |
equals(Object obj) |
KeyPair |
getKeyPair()
An array of key-value pairs containing information about the key pair.
|
int |
hashCode() |
void |
setKeyPair(KeyPair keyPair)
An array of key-value pairs containing information about the key pair.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetKeyPairResult |
withKeyPair(KeyPair keyPair)
An array of key-value pairs containing information about the key pair.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setKeyPair(KeyPair keyPair)
An array of key-value pairs containing information about the key pair.
keyPair
- An array of key-value pairs containing information about the key pair.public KeyPair getKeyPair()
An array of key-value pairs containing information about the key pair.
public GetKeyPairResult withKeyPair(KeyPair keyPair)
An array of key-value pairs containing information about the key pair.
keyPair
- An array of key-value pairs containing information about the key pair.public String toString()
toString
in class Object
Object.toString()
public GetKeyPairResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.