ImmutableMap (AWS SDK for Java
Publish date: 2024-05-02
An immutable map that could be built by convenient constructors.Example of using map Builder:
{ @code Map<String, AttibuteValue> item = new ImmutableMap.Builder<String, AttibuteValue>() .put("one", new AttibuteValue("1")) .put("two", new AttibuteValue("2")) .put("three", new AttibuteValue("3")).build(); }For small immutable maps (up to five entries), the
ImmutableMapParamter.of()
methods are preferred: Map<String, AttibuteValue> item = ImmutableMap .of("one", new AttributeValue("1"), "two", new AttributeValue("2"), "three", new AttributeValue("3"),
ncG1vNJzZmirlKB7ornAs6anmaeoe6S7zGihmq6RZK6xtY5rZWlmYGTAsLLTsJirnV%2BWuqLGzqdmmq%2BjqLGse9StoKWrX366rsHTmpmlnX2WvW%2B006aj