Class MapObjectBuilder<T>
java.lang.Object
software.amazon.smithy.jmespath.evaluation.MapObjectBuilder<T>
- All Implemented Interfaces:
JmespathRuntime.ObjectBuilder<T>
A default implementation of
JmespathRuntime.ObjectBuilder.
using a Map as the backing store.-
Constructor Summary
ConstructorsConstructorDescriptionMapObjectBuilder(JmespathRuntime<T> runtime, Function<Map<String, T>, T> wrapping) -
Method Summary
-
Constructor Details
-
MapObjectBuilder
-
-
Method Details
-
put
Description copied from interface:JmespathRuntime.ObjectBuilderAdds the given key/value pair to the object being built.- Specified by:
putin interfaceJmespathRuntime.ObjectBuilder<T>
-
putAll
Description copied from interface:JmespathRuntime.ObjectBuilderIf the given value is an OBJECT, adds all of its key/value pairs. Otherwise, throws a JmespathException of type INVALID_TYPE.- Specified by:
putAllin interfaceJmespathRuntime.ObjectBuilder<T>
-
build
Description copied from interface:JmespathRuntime.ObjectBuilderBuilds the new OBJECT value being built.- Specified by:
buildin interfaceJmespathRuntime.ObjectBuilder<T>
-