@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.
|
GetPublicKeyResult |
withETag(String eTag)
The current version of the public key.
|
GetPublicKeyResult |
withPublicKey(PublicKey publicKey)
Return the public key.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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 Object
Object.toString()
public GetPublicKeyResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.