Class WaitersRuntime.Value
- java.lang.Object
-
- software.amazon.awssdk.services.elasticache.waiters.internal.WaitersRuntime.Value
-
- Enclosing class:
- WaitersRuntime
public static final class WaitersRuntime.Value extends Object
An intermediate value for JMESPath expressions, encapsulating the different data types supported by JMESPath and the operations on that data.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WaitersRuntime.Valueand(WaitersRuntime.Value rhs)Perform an AND comparison between this value and another one: https://jmespath.org/specification.html#or-expressionsWaitersRuntime.Valuecompare(String comparison, WaitersRuntime.Value rhs)Compare this value to another value, using the specified comparison operator: https://jmespath.org/specification.html#comparison-operatorsWaitersRuntime.Valueconstant(Object constant)Convert this value to a new constant value, discarding the current value.WaitersRuntime.Valueconstant(WaitersRuntime.Value value)Convert this value to a new constant value, discarding the current value.WaitersRuntime.Valuecontains(WaitersRuntime.Value rhs)Execute the contains function, with this value as the first parameter: https://jmespath.org/specification.html#containsbooleanequals(Object o)WaitersRuntime.Valuefield(String fieldName)Retrieve an identifier from this value: https://jmespath.org/specification.html#identifiersWaitersRuntime.Valuefilter(Function<WaitersRuntime.Value,WaitersRuntime.Value> predicate)Filter this value: https://jmespath.org/specification.html#filter-expressionsWaitersRuntime.Valueflatten()Execute a flattening expression on this value: https://jmespath.org/specification.html#flatten-operatorinthashCode()WaitersRuntime.Valuelength()Execute the length function, with this value as the first parameter: https://jmespath.org/specification.html#lengthWaitersRuntime.ValuemultiSelectList(Function<WaitersRuntime.Value,WaitersRuntime.Value>... functions)Perform a multi-select list expression on this value: https://jmespath.org/specification.html#multiselect-listWaitersRuntime.Valuenot()Perform a NOT conversion on this value: https://jmespath.org/specification.html#not-expressionsWaitersRuntime.Valueor(WaitersRuntime.Value rhs)Perform an OR comparison between this value and another one: https://jmespath.org/specification.html#or-expressionsStringtoString()Objectvalue()Retrieve the actual value that this represents (this will be the same value passed to the constructor).List<Object>values()Retrieve the actual value that this represents, as a list.WaitersRuntime.Valuewildcard()Execute a wildcard expression on this value: https://jmespath.org/specification.html#wildcard-expressions
-
-
-
Constructor Detail
-
Value
public Value(Object value)
Create a non-projection value, where the value type is determined reflectively.
-
-
Method Detail
-
value
public Object value()
Retrieve the actual value that this represents (this will be the same value passed to the constructor).
-
constant
public WaitersRuntime.Value constant(WaitersRuntime.Value value)
Convert this value to a new constant value, discarding the current value.
-
constant
public WaitersRuntime.Value constant(Object constant)
Convert this value to a new constant value, discarding the current value.
-
wildcard
public WaitersRuntime.Value wildcard()
Execute a wildcard expression on this value: https://jmespath.org/specification.html#wildcard-expressions
-
flatten
public WaitersRuntime.Value flatten()
Execute a flattening expression on this value: https://jmespath.org/specification.html#flatten-operator
-
field
public WaitersRuntime.Value field(String fieldName)
Retrieve an identifier from this value: https://jmespath.org/specification.html#identifiers
-
filter
public WaitersRuntime.Value filter(Function<WaitersRuntime.Value,WaitersRuntime.Value> predicate)
Filter this value: https://jmespath.org/specification.html#filter-expressions
-
length
public WaitersRuntime.Value length()
Execute the length function, with this value as the first parameter: https://jmespath.org/specification.html#length
-
contains
public WaitersRuntime.Value contains(WaitersRuntime.Value rhs)
Execute the contains function, with this value as the first parameter: https://jmespath.org/specification.html#contains
-
compare
public WaitersRuntime.Value compare(String comparison, WaitersRuntime.Value rhs)
Compare this value to another value, using the specified comparison operator: https://jmespath.org/specification.html#comparison-operators
-
multiSelectList
@SafeVarargs public final WaitersRuntime.Value multiSelectList(Function<WaitersRuntime.Value,WaitersRuntime.Value>... functions)
Perform a multi-select list expression on this value: https://jmespath.org/specification.html#multiselect-list
-
or
public WaitersRuntime.Value or(WaitersRuntime.Value rhs)
Perform an OR comparison between this value and another one: https://jmespath.org/specification.html#or-expressions
-
and
public WaitersRuntime.Value and(WaitersRuntime.Value rhs)
Perform an AND comparison between this value and another one: https://jmespath.org/specification.html#or-expressions
-
not
public WaitersRuntime.Value not()
Perform a NOT conversion on this value: https://jmespath.org/specification.html#not-expressions
-
-