@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-02-03T16:18:08.809Z") @Stability(value=Experimental) public class Tokenization extends software.amazon.jsii.JsiiObject
Modifier | Constructor and Description |
---|---|
|
Tokenization() |
protected |
Tokenization(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Tokenization(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
static Boolean |
isResolvable(Object obj)
(experimental) Return whether the given object is an IResolvable object.
|
static Object |
resolve(Object obj,
ResolveOptions options)
(experimental) Resolves an object by evaluating all tokens and removing any undefined or empty objects or arrays.
|
static List<IResolvable> |
reverse(Object x)
(experimental) Reverse any value into Resolvables, if possible.
|
static IResolvable |
reverseList(List<String> l)
(experimental) Un-encode a Tokenized value from a list.
|
static IResolvable |
reverseMap(Map<String,? extends Object> m)
(experimental) Un-encode a Tokenized value from a map.
|
static IResolvable |
reverseNumber(Number n)
(experimental) Un-encode a Tokenized value from a number.
|
static IResolvable |
reverseNumberList(List<? extends Number> l)
(experimental) Un-encode a Tokenized value from a list.
|
static TokenizedStringFragments |
reverseString(String s)
(experimental) Un-encode a string potentially containing encoded tokens.
|
static String |
stringifyNumber(Number x)
(experimental) Stringify a number directly or lazily if it's a Token.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
protected Tokenization(software.amazon.jsii.JsiiObjectRef objRef)
protected Tokenization(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) public Tokenization()
@Stability(value=Experimental) @NotNull public static Boolean isResolvable(@NotNull Object obj)
This is different from Token.isUnresolved() which will also check for encoded Tokens, whereas this method will only do a type check on the given object.
obj
- This parameter is required.@Stability(value=Experimental) @NotNull public static Object resolve(@NotNull Object obj, @NotNull ResolveOptions options)
Values can only be primitives, arrays or tokens. Other objects (i.e. with methods) will be rejected.
obj
- The object to resolve. This parameter is required.options
- Prefix key path components for diagnostics. This parameter is required.@Stability(value=Experimental) @NotNull public static List<IResolvable> reverse(@NotNull Object x)
x
- This parameter is required.@Stability(value=Experimental) @Nullable public static IResolvable reverseList(@NotNull List<String> l)
l
- This parameter is required.@Stability(value=Experimental) @Nullable public static IResolvable reverseMap(@NotNull Map<String,? extends Object> m)
m
- This parameter is required.@Stability(value=Experimental) @Nullable public static IResolvable reverseNumber(@NotNull Number n)
n
- This parameter is required.@Stability(value=Experimental) @Nullable public static IResolvable reverseNumberList(@NotNull List<? extends Number> l)
l
- This parameter is required.@Stability(value=Experimental) @NotNull public static TokenizedStringFragments reverseString(@NotNull String s)
s
- This parameter is required.Copyright © 2023. All rights reserved.