io.cloudshiftdev.awscdk.TokenComparison.kt Maven / Gradle / Ivy
The newest version!
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk
import io.cloudshiftdev.awscdk.common.CdkObject
/**
* 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 io.cloudshiftdev.awscdk.*;
* TokenComparison tokenComparison = TokenComparison.BOTH_UNRESOLVED;
* ```
*/
public open class TokenComparison(
cdkObject: software.amazon.awscdk.TokenComparison,
) : CdkObject(cdkObject) {
public companion object {
public val BOTH_UNRESOLVED: TokenComparison =
TokenComparison.wrap(software.amazon.awscdk.TokenComparison.BOTH_UNRESOLVED)
public val DIFFERENT: TokenComparison =
TokenComparison.wrap(software.amazon.awscdk.TokenComparison.DIFFERENT)
public val ONE_UNRESOLVED: TokenComparison =
TokenComparison.wrap(software.amazon.awscdk.TokenComparison.ONE_UNRESOLVED)
public val SAME: TokenComparison =
TokenComparison.wrap(software.amazon.awscdk.TokenComparison.SAME)
internal fun wrap(cdkObject: software.amazon.awscdk.TokenComparison): TokenComparison =
TokenComparison(cdkObject)
internal fun unwrap(wrapped: TokenComparison): software.amazon.awscdk.TokenComparison =
wrapped.cdkObject as software.amazon.awscdk.TokenComparison
}
}