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.Builderbuilder()voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)Set<Map.Entry<String,String>>entrySet()booleanequals(Object obj)Stringget(Object key)Map<String,String>getMaterialsDescription()inthashCode()booleanisEmpty()Set<String>keySet()Stringput(String key, String value)voidputAll(Map<? extends String,? extends String> m)Stringremove(Object key)intsize()Collection<String>values()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, 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:
containsKeyin interfaceMap<String,String>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<String,String>
-
equals
public boolean equals(Object obj)
-
-