Class LazyBase

java.lang.Object
software.amazon.jsii.JsiiObject
com.hashicorp.cdktf.LazyBase
All Implemented Interfaces:
IResolvable, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.79.0 (build b22f628)", date="2023-07-26T11:31:27.587Z") @Stability(Experimental) public abstract class LazyBase extends software.amazon.jsii.JsiiObject implements IResolvable
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface com.hashicorp.cdktf.IResolvable

    IResolvable.Jsii$Default
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
    protected
    LazyBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    LazyBase(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    (experimental) The creation stack of this resolvable which will be appended to errors thrown during resolution.
    (experimental) Produce the Token's value at resolution time.
    protected abstract Object
     
    (experimental) Turn this Token into JSON.
    (experimental) Return a string representation of this resolvable object.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • LazyBase

      protected LazyBase(software.amazon.jsii.JsiiObjectRef objRef)
    • LazyBase

      protected LazyBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • LazyBase

      @Stability(Experimental) protected LazyBase()
  • Method Details

    • addPostProcessor

      @Stability(Experimental) public void addPostProcessor(@NotNull IPostProcessor postProcessor)
      Parameters:
      postProcessor - This parameter is required.
    • resolve

      @Stability(Experimental) @NotNull public Object resolve(@NotNull IResolveContext context)
      (experimental) Produce the Token's value at resolution time.

      Specified by:
      resolve in interface IResolvable
      Parameters:
      context - This parameter is required.
    • resolveLazy

      @Stability(Experimental) @NotNull protected abstract Object resolveLazy(@NotNull IResolveContext context)
      Parameters:
      context - This parameter is required.
    • toJSON

      @Stability(Experimental) @NotNull public Object toJSON()
      (experimental) Turn this Token into JSON.

      Called automatically when JSON.stringify() is called on a Token.

    • toString

      @Stability(Experimental) @NotNull public String toString()
      (experimental) Return a string representation of this resolvable object.

      Returns a reversible string representation.

      Specified by:
      toString in interface IResolvable
      Overrides:
      toString in class Object
    • getCreationStack

      @Stability(Experimental) @NotNull public List<String> getCreationStack()
      (experimental) The creation stack of this resolvable which will be appended to errors thrown during resolution.

      If this returns an empty array the stack will not be attached.

      Specified by:
      getCreationStack in interface IResolvable