public class EncryptionMaterials extends Object implements Serializable
Constructor and Description |
---|
EncryptionMaterials(SecretKey symmetricKey)
Constructs a new EncryptionMaterials object, storing a symmetric key.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getMaterialsDescription()
Returns a snapshot of the current material description; never null.
|
SecretKey |
getSymmetricKey()
Returns the symmetric key stored in this EncryptionMaterials object.
|
EncryptionMaterials |
withDescription(String name,
String value)
Fluent API to add material description.
|
EncryptionMaterials |
withDescriptions(Map<String,String> descriptions)
Fluent API to add all the given material descriptions.
|
public EncryptionMaterials(SecretKey symmetricKey)
symmetricKey
- The symmetric key to be stored in this EncryptionMaterials object.public SecretKey getSymmetricKey()
public Map<String,String> getMaterialsDescription()
public EncryptionMaterials withDescription(String name, String value)
public EncryptionMaterials withDescriptions(Map<String,String> descriptions)
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.