public class CreateKeyPairResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of CreateKeyPair.
Constructor and Description |
---|
CreateKeyPairResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
KeyPair |
getKeyPair()
Information about the key pair.
|
int |
hashCode() |
void |
setKeyPair(KeyPair keyPair)
Information about the key pair.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateKeyPairResult |
withKeyPair(KeyPair keyPair)
Information about the key pair.
|
public KeyPair getKeyPair()
public void setKeyPair(KeyPair keyPair)
keyPair
- Information about the key pair.public CreateKeyPairResult withKeyPair(KeyPair keyPair)
Returns a reference to this object so that method calls can be chained together.
keyPair
- Information about the key pair.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.