Class MaterialsDescription
- java.lang.Object
-
- software.amazon.encryption.s3.materials.MaterialsDescription
-
public class MaterialsDescription extends Object implements Map<String,String>
This class is used to provide key-value pairs that describe the key material used with the Keyring, specifically for AES and RSA Keyrings. This will be useful during the re-encryption of instruction file. The stored Materials Description is immutable once created.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaterialsDescription.Builder
builder()
void
clear()
boolean
containsKey(Object key)
boolean
containsValue(Object value)
Set<Map.Entry<String,String>>
entrySet()
String
get(Object key)
Map<String,String>
getMaterialsDescription()
boolean
isEmpty()
Set<String>
keySet()
String
put(String key, String value)
void
putAll(Map<? extends String,? extends String> m)
String
remove(Object key)
int
size()
Collection<String>
values()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
builder
public static MaterialsDescription.Builder builder()
- Returns:
- a new builder instance
-
getMaterialsDescription
public Map<String,String> getMaterialsDescription()
- Returns:
- the materials description map
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interfaceMap<String,String>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceMap<String,String>
-
-