@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPublicKeyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetPublicKeyResult() |
Modifier and Type | Method and Description |
---|---|
GetPublicKeyResult |
clone() |
boolean |
equals(Object obj) |
PublicKey |
getPublicKey()
The public key that is returned.
|
int |
hashCode() |
void |
setPublicKey(PublicKey publicKey)
The public key that is returned.
|
String |
toString()
Returns a string representation of this object.
|
GetPublicKeyResult |
withPublicKey(PublicKey publicKey)
The public key that is returned.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPublicKey(PublicKey publicKey)
The public key that is returned.
publicKey
- The public key that is returned.public PublicKey getPublicKey()
The public key that is returned.
public GetPublicKeyResult withPublicKey(PublicKey publicKey)
The public key that is returned.
publicKey
- The public key that is returned.public String toString()
toString
in class Object
Object.toString()
public GetPublicKeyResult clone()