@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) |
String |
getETag()
The current version of the public key.
|
PublicKey |
getPublicKey()
Return the public key.
|
int |
hashCode() |
void |
setETag(String eTag)
The current version of the public key.
|
void |
setPublicKey(PublicKey publicKey)
Return the public key.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetPublicKeyResult |
withETag(String eTag)
The current version of the public key.
|
GetPublicKeyResult |
withPublicKey(PublicKey publicKey)
Return the public key.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setPublicKey(PublicKey publicKey)
Return the public key.
publicKey - Return the public key.public PublicKey getPublicKey()
Return the public key.
public GetPublicKeyResult withPublicKey(PublicKey publicKey)
Return the public key.
publicKey - Return the public key.public void setETag(String eTag)
The current version of the public key. For example: E2QWRUHAPOMQZL.
eTag - The current version of the public key. For example: E2QWRUHAPOMQZL.public String getETag()
The current version of the public key. For example: E2QWRUHAPOMQZL.
E2QWRUHAPOMQZL.public GetPublicKeyResult withETag(String eTag)
The current version of the public key. For example: E2QWRUHAPOMQZL.
eTag - The current version of the public key. For example: E2QWRUHAPOMQZL.public String toString()
toString in class ObjectObject.toString()public GetPublicKeyResult clone()
Copyright © 2018. All rights reserved.