@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 identifier for this version of the public key.
|
PublicKey |
getPublicKey()
The public key.
|
int |
hashCode() |
void |
setETag(String eTag)
The identifier for this version of the public key.
|
void |
setPublicKey(PublicKey publicKey)
The public key.
|
String |
toString()
Returns a string representation of this object.
|
GetPublicKeyResult |
withETag(String eTag)
The identifier for this version of the public key.
|
GetPublicKeyResult |
withPublicKey(PublicKey publicKey)
The public key.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPublicKey(PublicKey publicKey)
The public key.
publicKey
- The public key.public PublicKey getPublicKey()
The public key.
public GetPublicKeyResult withPublicKey(PublicKey publicKey)
The public key.
publicKey
- The public key.public void setETag(String eTag)
The identifier for this version of the public key.
eTag
- The identifier for this version of the public key.public String getETag()
The identifier for this version of the public key.
public GetPublicKeyResult withETag(String eTag)
The identifier for this version of the public key.
eTag
- The identifier for this version of the public key.public String toString()
toString
in class Object
Object.toString()
public GetPublicKeyResult clone()