Class JmesPathRuntime.Value
java.lang.Object
software.amazon.awssdk.services.ssmincidents.jmespath.internal.JmesPathRuntime.Value
- Enclosing class:
- JmesPathRuntime
An intermediate value for JMESPath expressions, encapsulating the different data types supported by JMESPath and
 the operations on that data.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionand(JmesPathRuntime.Value rhs) Perform an AND comparison between this value and another one: https://jmespath.org/specification.html#or-expressionsRetrieve the actual value that this represents, as a Boolean.compare(String comparison, JmesPathRuntime.Value rhs) Compare this value to another value, using the specified comparison operator: https://jmespath.org/specification.html#comparison-operatorsConvert this value to a new constant value, discarding the current value.constant(JmesPathRuntime.Value value) Convert this value to a new constant value, discarding the current value.Execute the contains function, with this value as the first parameter: https://jmespath.org/specification.html#containsbooleanRetrieve an identifier from this value: https://jmespath.org/specification.html#identifiersfilter(Function<JmesPathRuntime.Value, JmesPathRuntime.Value> predicate) Filter this value: https://jmespath.org/specification.html#filter-expressionsflatten()Execute a flattening expression on this value: https://jmespath.org/specification.html#flatten-operatorinthashCode()keys()length()Execute the length function, with this value as the first parameter: https://jmespath.org/specification.html#lengthfinal JmesPathRuntime.ValuemultiSelectHash(Map<String, Function<JmesPathRuntime.Value, JmesPathRuntime.Value>> selections) Perform a multi-select hash expression on this value: https://jmespath.org/specification.html#multiselect-hashfinal JmesPathRuntime.ValuemultiSelectList(Function<JmesPathRuntime.Value, JmesPathRuntime.Value>... functions) Perform a multi-select list expression on this value: https://jmespath.org/specification.html#multiselect-listnot()Perform a NOT conversion on this value: https://jmespath.org/specification.html#not-expressionsor(JmesPathRuntime.Value rhs) Perform an OR comparison between this value and another one: https://jmespath.org/specification.html#or-expressionsRetrieve the actual value that this represents, as a String.Retrieve the actual value that this represents, as a list of String.Retrieve the actual value that this represents, as a map of Strings.toString()value()Retrieve the actual value that this represents (this will be the same value passed to the constructor).values()Retrieve the actual value that this represents, as a list of object.wildcard()Execute a wildcard expression on this value: https://jmespath.org/specification.html#wildcard-expressions
- 
Constructor Details- 
ValueCreate a non-projection value, where the value type is determined reflectively.
 
- 
- 
Method Details- 
valueRetrieve the actual value that this represents (this will be the same value passed to the constructor).
- 
values
- 
booleanValueRetrieve the actual value that this represents, as a Boolean. Note that only null, boolean and string types are supported.
- 
stringValueRetrieve the actual value that this represents, as a String. Note that collection types are not supported.
- 
stringValuesRetrieve the actual value that this represents, as a list of String. Note that if the contents of the list is not String, an exception is thrown. If the value has a different type, the code makes a best effort to return a single element list of String. SeestringValue.
- 
stringValuesMap
- 
constantConvert this value to a new constant value, discarding the current value.
- 
constantConvert this value to a new constant value, discarding the current value.
- 
wildcardExecute a wildcard expression on this value: https://jmespath.org/specification.html#wildcard-expressions
- 
flattenExecute a flattening expression on this value: https://jmespath.org/specification.html#flatten-operator
- 
fieldRetrieve an identifier from this value: https://jmespath.org/specification.html#identifiers
- 
filterpublic JmesPathRuntime.Value filter(Function<JmesPathRuntime.Value, JmesPathRuntime.Value> predicate) Filter this value: https://jmespath.org/specification.html#filter-expressions
- 
lengthExecute the length function, with this value as the first parameter: https://jmespath.org/specification.html#length
- 
keys
- 
containsExecute the contains function, with this value as the first parameter: https://jmespath.org/specification.html#contains
- 
compareCompare this value to another value, using the specified comparison operator: https://jmespath.org/specification.html#comparison-operators
- 
multiSelectList@SafeVarargs public final JmesPathRuntime.Value multiSelectList(Function<JmesPathRuntime.Value, JmesPathRuntime.Value>... functions) Perform a multi-select list expression on this value: https://jmespath.org/specification.html#multiselect-list
- 
multiSelectHashpublic final JmesPathRuntime.Value multiSelectHash(Map<String, Function<JmesPathRuntime.Value, JmesPathRuntime.Value>> selections) Perform a multi-select hash expression on this value: https://jmespath.org/specification.html#multiselect-hash
- 
orPerform an OR comparison between this value and another one: https://jmespath.org/specification.html#or-expressions
- 
andPerform an AND comparison between this value and another one: https://jmespath.org/specification.html#or-expressions
- 
notPerform a NOT conversion on this value: https://jmespath.org/specification.html#not-expressions
- 
equals
- 
hashCode
- 
toString
 
-