Serializable
public class EncryptionMaterials extends Object implements Serializable
Constructor | Description |
---|---|
EncryptionMaterials(SecretKey symmetricKey) |
Constructs a new EncryptionMaterials object, storing a symmetric key.
|
Modifier and Type | Method | Description |
---|---|---|
Map<String,String> |
getMaterialsDescription() |
Returns a snapshot of the current material description; never null.
|
SecretKey |
symmetricKey() |
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 symmetricKey()
public Map<String,String> getMaterialsDescription()
public EncryptionMaterials withDescription(String name, String value)
public EncryptionMaterials withDescriptions(Map<String,String> descriptions)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.