@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePublicKeyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdatePublicKeyResult() |
Modifier and Type | Method and Description |
---|---|
UpdatePublicKeyResult |
clone() |
boolean |
equals(Object obj) |
String |
getETag()
The identifier of the current version of the public key.
|
PublicKey |
getPublicKey()
The public key.
|
int |
hashCode() |
void |
setETag(String eTag)
The identifier of the current version of the public key.
|
void |
setPublicKey(PublicKey publicKey)
The public key.
|
String |
toString()
Returns a string representation of this object.
|
UpdatePublicKeyResult |
withETag(String eTag)
The identifier of the current version of the public key.
|
UpdatePublicKeyResult |
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 UpdatePublicKeyResult withPublicKey(PublicKey publicKey)
The public key.
publicKey
- The public key.public void setETag(String eTag)
The identifier of the current version of the public key.
eTag
- The identifier of the current version of the public key.public String getETag()
The identifier of the current version of the public key.
public UpdatePublicKeyResult withETag(String eTag)
The identifier of the current version of the public key.
eTag
- The identifier of the current version of the public key.public String toString()
toString
in class Object
Object.toString()
public UpdatePublicKeyResult clone()