com.hashicorp.cdktf.IStringProducer Maven / Gradle / Ivy
Show all versions of cdktf Show documentation
package com.hashicorp.cdktf;
/**
* (experimental) Interface for lazy string producers.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.79.0 (build b22f628)", date = "2023-07-26T11:31:27.575Z")
@software.amazon.jsii.Jsii(module = com.hashicorp.cdktf.$Module.class, fqn = "cdktf.IStringProducer")
@software.amazon.jsii.Jsii.Proxy(IStringProducer.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public interface IStringProducer extends software.amazon.jsii.JsiiSerializable {
/**
* (experimental) Produce the string value.
*
* @param context This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.Nullable java.lang.String produce(final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.IResolveContext context);
/**
* 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.IStringProducer.Jsii$Default {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
/**
* (experimental) Produce the string value.
*
* @param context This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public final @org.jetbrains.annotations.Nullable java.lang.String produce(final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.IResolveContext context) {
return software.amazon.jsii.Kernel.call(this, "produce", software.amazon.jsii.NativeType.forClass(java.lang.String.class), new Object[] { java.util.Objects.requireNonNull(context, "context is required") });
}
}
/**
* Internal default implementation for {@link IStringProducer}.
*/
@software.amazon.jsii.Internal
interface Jsii$Default extends IStringProducer {
/**
* (experimental) Produce the string value.
*
* @param context This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
default @org.jetbrains.annotations.Nullable java.lang.String produce(final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.IResolveContext context) {
return software.amazon.jsii.Kernel.call(this, "produce", software.amazon.jsii.NativeType.forClass(java.lang.String.class), new Object[] { java.util.Objects.requireNonNull(context, "context is required") });
}
}
}