Package software.amazon.awscdk
Class TokenComparison
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.TokenComparison
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-08-23T05:56:10.167Z")
@Stability(Stable)
public class TokenComparison
extends software.amazon.jsii.JsiiObject
An enum-like class that represents the result of comparing two Tokens.
The return type of Token.compareStrings
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.*; TokenComparison tokenComparison = TokenComparison.BOTH_UNRESOLVED;
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TokenComparison
This means both components are Tokens.static final TokenComparison
This means we're certain the two components are NOT Tokens, and different.static final TokenComparison
This means exactly one of the components is a Token.static final TokenComparison
This means we're certain the two components are NOT Tokens, and identical. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TokenComparison
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
TokenComparison
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
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
-
Field Details
-
BOTH_UNRESOLVED
This means both components are Tokens. -
DIFFERENT
This means we're certain the two components are NOT Tokens, and different. -
ONE_UNRESOLVED
This means exactly one of the components is a Token. -
SAME
This means we're certain the two components are NOT Tokens, and identical.
-
-
Constructor Details
-
TokenComparison
protected TokenComparison(software.amazon.jsii.JsiiObjectRef objRef) -
TokenComparison
protected TokenComparison(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-