@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.
|
GetKeyPairResult |
withKeyPair(KeyPair keyPair)
An array of key-value pairs containing information about the key pair.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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 ObjectObject.toString()public GetKeyPairResult clone()