Package software.amazon.awscdk.core
Class TokenizedStringFragments
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.core.TokenizedStringFragments
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:55.159Z")
@Stability(Stable)
public class TokenizedStringFragments
extends software.amazon.jsii.JsiiObject
Fragments of a concatenated string containing stringified Tokens.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.core.*; TokenizedStringFragments tokenizedStringFragments = new TokenizedStringFragments();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionprotected
TokenizedStringFragments
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
TokenizedStringFragments
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addIntrinsic
(Object value) void
addLiteral
(Object lit) void
addToken
(IResolvable token) Return all Tokens from this string.join
(IFragmentConcatenator concat) Combine the string fragments using the given joiner.mapTokens
(ITokenMapper mapper) Apply a transformation function to all tokens in the string.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
TokenizedStringFragments
protected TokenizedStringFragments(software.amazon.jsii.JsiiObjectRef objRef) -
TokenizedStringFragments
protected TokenizedStringFragments(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
TokenizedStringFragments
@Stability(Stable) public TokenizedStringFragments()
-
-
Method Details
-
addIntrinsic
- Parameters:
value
- This parameter is required.
-
addLiteral
- Parameters:
lit
- This parameter is required.
-
addToken
- Parameters:
token
- This parameter is required.
-
join
Combine the string fragments using the given joiner.If there are any
- Parameters:
concat
- This parameter is required.
-
mapTokens
Apply a transformation function to all tokens in the string.- Parameters:
mapper
- This parameter is required.
-
getFirstValue
-
getLength
-
getTokens
Return all Tokens from this string. -
getFirstToken
-