com.hashicorp.cdktf.ITokenResolver Maven / Gradle / Ivy
package com.hashicorp.cdktf;
/**
* (experimental) How to resolve tokens.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.17.1 (build 2bac5fd)", date = "2021-02-18T13:56:39.626Z")
@software.amazon.jsii.Jsii(module = com.hashicorp.cdktf.$Module.class, fqn = "cdktf.ITokenResolver")
@software.amazon.jsii.Jsii.Proxy(ITokenResolver.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public interface ITokenResolver extends software.amazon.jsii.JsiiSerializable {
/**
* (experimental) Resolve a tokenized list.
*
* @param l This parameter is required.
* @param context This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull java.lang.Object resolveList(final @org.jetbrains.annotations.NotNull java.util.List l, final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.IResolveContext context);
/**
* (experimental) Resolve a string with at least one stringified token in it.
*
* (May use concatenation)
*
* @param s This parameter is required.
* @param context This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull java.lang.Object resolveString(final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.TokenizedStringFragments s, final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.IResolveContext context);
/**
* (experimental) Resolve a single token.
*
* @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)
@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);
/**
* 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.ITokenResolver.Jsii$Default {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
/**
* (experimental) Resolve a tokenized list.
*
* @param l This parameter is required.
* @param context This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public final @org.jetbrains.annotations.NotNull java.lang.Object resolveList(final @org.jetbrains.annotations.NotNull java.util.List l, 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(l, "l is required"), java.util.Objects.requireNonNull(context, "context is required") });
}
/**
* (experimental) Resolve a string with at least one stringified token in it.
*
* (May use concatenation)
*
* @param s This parameter is required.
* @param context This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public final @org.jetbrains.annotations.NotNull java.lang.Object resolveString(final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.TokenizedStringFragments s, 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(s, "s is required"), java.util.Objects.requireNonNull(context, "context is required") });
}
/**
* (experimental) Resolve a single token.
*
* @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 final @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") });
}
}
/**
* Internal default implementation for {@link ITokenResolver}.
*/
@software.amazon.jsii.Internal
interface Jsii$Default extends ITokenResolver {
/**
* (experimental) Resolve a tokenized list.
*
* @param l This parameter is required.
* @param context This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
default @org.jetbrains.annotations.NotNull java.lang.Object resolveList(final @org.jetbrains.annotations.NotNull java.util.List l, 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(l, "l is required"), java.util.Objects.requireNonNull(context, "context is required") });
}
/**
* (experimental) Resolve a string with at least one stringified token in it.
*
* (May use concatenation)
*
* @param s This parameter is required.
* @param context This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
default @org.jetbrains.annotations.NotNull java.lang.Object resolveString(final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.TokenizedStringFragments s, 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(s, "s is required"), java.util.Objects.requireNonNull(context, "context is required") });
}
/**
* (experimental) Resolve a single token.
*
* @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
default @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") });
}
}
}