public class ServerSideEncryptionKMS extends Object implements InventoryEncryption, Serializable, Cloneable
InventoryEncryption
for server side encryption with KMS.Constructor and Description |
---|
ServerSideEncryptionKMS() |
Modifier and Type | Method and Description |
---|---|
ServerSideEncryptionKMS |
clone() |
boolean |
equals(Object obj) |
String |
getKeyId() |
int |
hashCode() |
void |
setKeyId(String keyId)
Sets the KMS key id to use to encrypt the inventory contents.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ServerSideEncryptionKMS |
withKeyId(String keyId)
Sets the KMS key id to use to encrypt the inventory contents.
|
public String getKeyId()
public void setKeyId(String keyId)
keyId
- New KMS key id.public ServerSideEncryptionKMS withKeyId(String keyId)
keyId
- New KMS key id.public String toString()
toString
in class Object
Object.toString()
public ServerSideEncryptionKMS clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.