com.hashicorp.cdktf.ITokenMapper Maven / Gradle / Ivy
package com.hashicorp.cdktf;
/**
* (experimental) Interface to apply operation to tokens in a string.
*
* Interface so it can be exported via jsii.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.98.0 (build 00b106d)", date = "2024-05-27T11:46:32.205Z")
@software.amazon.jsii.Jsii(module = com.hashicorp.cdktf.$Module.class, fqn = "cdktf.ITokenMapper")
@software.amazon.jsii.Jsii.Proxy(ITokenMapper.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public interface ITokenMapper extends software.amazon.jsii.JsiiSerializable {
/**
* (experimental) Replace a single token.
*
* @param t This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull java.lang.Object mapToken(final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.IResolvable t);
/**
* A proxy class which represents a concrete javascript instance of this type.
*/
@software.amazon.jsii.Internal
final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements com.hashicorp.cdktf.ITokenMapper.Jsii$Default {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
/**
* (experimental) Replace a single token.
*
* @param t This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public final @org.jetbrains.annotations.NotNull java.lang.Object mapToken(final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.IResolvable t) {
return software.amazon.jsii.Kernel.call(this, "mapToken", software.amazon.jsii.NativeType.forClass(java.lang.Object.class), new Object[] { java.util.Objects.requireNonNull(t, "t is required") });
}
}
/**
* Internal default implementation for {@link ITokenMapper}.
*/
@software.amazon.jsii.Internal
interface Jsii$Default extends ITokenMapper {
/**
* (experimental) Replace a single token.
*
* @param t This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
default @org.jetbrains.annotations.NotNull java.lang.Object mapToken(final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.IResolvable t) {
return software.amazon.jsii.Kernel.call(this, "mapToken", software.amazon.jsii.NativeType.forClass(java.lang.Object.class), new Object[] { java.util.Objects.requireNonNull(t, "t is required") });
}
}
}