@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetKMSEncryptionKeyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetKMSEncryptionKeyResult() |
| Modifier and Type | Method and Description |
|---|---|
GetKMSEncryptionKeyResult |
clone() |
boolean |
equals(Object obj) |
KMSKey |
getKmsKey()
The KMS encryption key.
|
int |
hashCode() |
void |
setKmsKey(KMSKey kmsKey)
The KMS encryption key.
|
String |
toString()
Returns a string representation of this object.
|
GetKMSEncryptionKeyResult |
withKmsKey(KMSKey kmsKey)
The KMS encryption key.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setKmsKey(KMSKey kmsKey)
The KMS encryption key.
kmsKey - The KMS encryption key.public KMSKey getKmsKey()
The KMS encryption key.
public GetKMSEncryptionKeyResult withKmsKey(KMSKey kmsKey)
The KMS encryption key.
kmsKey - The KMS encryption key.public String toString()
toString in class ObjectObject.toString()public GetKMSEncryptionKeyResult clone()