@Generated(value="jsii-pacmak/0.20.8 (build bd5ef4d)", date="2019-11-25T14:22:09.475Z") @Stability(value=Stable) public class Tokenization extends software.amazon.jsii.JsiiObject
| Modifier | Constructor and Description |
|---|---|
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)
Return whether the given object is an IResolvable object.
|
static Object |
resolve(Object obj,
ResolveOptions options)
Resolves an object by evaluating all tokens and removing any undefined or empty objects or arrays.
|
static IResolvable |
reverseList(List<String> l)
Un-encode a Tokenized value from a list.
|
static IResolvable |
reverseNumber(Number n)
Un-encode a Tokenized value from a number.
|
static TokenizedStringFragments |
reverseString(String s)
Un-encode a string potentially containing encoded tokens.
|
static String |
stringifyNumber(Number x)
Stringify a number directly or lazily if it's a Token.
|
jsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetprotected Tokenization(software.amazon.jsii.JsiiObjectRef objRef)
protected Tokenization(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) public static Boolean isResolvable(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=Stable) public static Object resolve(Object obj, ResolveOptions options)
obj - The object to resolve. This parameter is required.options - Prefix key path components for diagnostics. This parameter is required.@Stability(value=Stable) public static IResolvable reverseList(List<String> l)
l - This parameter is required.@Stability(value=Stable) public static IResolvable reverseNumber(Number n)
n - This parameter is required.@Stability(value=Stable) public static TokenizedStringFragments reverseString(String s)
s - This parameter is required.Copyright © 2019. All rights reserved.