com.hashicorp.cdktf.DefaultTokenResolver Maven / Gradle / Ivy
Show all versions of cdktf Show documentation
package com.hashicorp.cdktf;
/**
* (experimental) Default resolver implementation.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.79.0 (build b22f628)", date = "2023-07-26T11:31:27.542Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = com.hashicorp.cdktf.$Module.class, fqn = "cdktf.DefaultTokenResolver")
public class DefaultTokenResolver extends software.amazon.jsii.JsiiObject implements com.hashicorp.cdktf.ITokenResolver {
protected DefaultTokenResolver(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected DefaultTokenResolver(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* (experimental) Resolves tokens.
*
* @param concat This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public DefaultTokenResolver(final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.IFragmentConcatenator concat) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(concat, "concat is required") });
}
/**
* (experimental) Resolves a list of string.
*
* @param xs This parameter is required.
* @param context This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public @org.jetbrains.annotations.NotNull java.lang.Object resolveList(final @org.jetbrains.annotations.NotNull java.util.List xs, final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.IResolveContext context) {
return software.amazon.jsii.Kernel.call(this, "resolveList", software.amazon.jsii.NativeType.forClass(java.lang.Object.class), new Object[] { java.util.Objects.requireNonNull(xs, "xs is required"), java.util.Objects.requireNonNull(context, "context is required") });
}
/**
* (experimental) Resolves a map token.
*
* @param xs This parameter is required.
* @param context This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public @org.jetbrains.annotations.NotNull java.lang.Object resolveMap(final @org.jetbrains.annotations.NotNull java.util.Map xs, final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.IResolveContext context) {
return software.amazon.jsii.Kernel.call(this, "resolveMap", software.amazon.jsii.NativeType.forClass(java.lang.Object.class), new Object[] { java.util.Objects.requireNonNull(xs, "xs is required"), java.util.Objects.requireNonNull(context, "context is required") });
}
/**
* (experimental) Resolves a list of numbers.
*
* @param xs This parameter is required.
* @param context This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public @org.jetbrains.annotations.NotNull java.lang.Object resolveNumberList(final @org.jetbrains.annotations.NotNull java.util.List xs, final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.IResolveContext context) {
return software.amazon.jsii.Kernel.call(this, "resolveNumberList", software.amazon.jsii.NativeType.forClass(java.lang.Object.class), new Object[] { java.util.Objects.requireNonNull(xs, "xs is required"), java.util.Objects.requireNonNull(context, "context is required") });
}
/**
* (experimental) Resolve string fragments to Tokens.
*
* @param fragments This parameter is required.
* @param context This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public @org.jetbrains.annotations.NotNull java.lang.Object resolveString(final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.TokenizedStringFragments fragments, final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.IResolveContext context) {
return software.amazon.jsii.Kernel.call(this, "resolveString", software.amazon.jsii.NativeType.forClass(java.lang.Object.class), new Object[] { java.util.Objects.requireNonNull(fragments, "fragments is required"), java.util.Objects.requireNonNull(context, "context is required") });
}
/**
* (experimental) Default Token resolution.
*
* Resolve the Token, recurse into whatever it returns,
* then finally post-process it.
*
* @param t This parameter is required.
* @param context This parameter is required.
* @param postProcessor This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public @org.jetbrains.annotations.NotNull java.lang.Object resolveToken(final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.IResolvable t, final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.IResolveContext context, final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.IPostProcessor postProcessor) {
return software.amazon.jsii.Kernel.call(this, "resolveToken", software.amazon.jsii.NativeType.forClass(java.lang.Object.class), new Object[] { java.util.Objects.requireNonNull(t, "t is required"), java.util.Objects.requireNonNull(context, "context is required"), java.util.Objects.requireNonNull(postProcessor, "postProcessor is required") });
}
}