Class TokenComparison

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.core.TokenComparison
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:55.157Z") @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

invalid @link
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.core.*;
 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

    Fields
    Modifier and Type
    Field
    Description
    static 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

    Constructors
    Modifier
    Constructor
    Description
    protected
    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

      @Stability(Stable) public static final TokenComparison BOTH_UNRESOLVED
      This means both components are Tokens.
    • DIFFERENT

      @Stability(Stable) public static final TokenComparison DIFFERENT
      This means we're certain the two components are NOT Tokens, and different.
    • ONE_UNRESOLVED

      @Stability(Stable) public static final TokenComparison ONE_UNRESOLVED
      This means exactly one of the components is a Token.
    • SAME

      @Stability(Stable) public static final TokenComparison 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)