Package com.hashicorp.cdktf
Class Lazy
java.lang.Object
software.amazon.jsii.JsiiObject
com.hashicorp.cdktf.Lazy
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.95.0 (build f1ff514)",
date="2024-04-15T08:11:31.992Z")
@Stability(Experimental)
public class Lazy
extends software.amazon.jsii.JsiiObject
(experimental) Lazily produce a value.
Can be used to return a string, list or numeric value whose actual value will only be calculated later, during synthesis.
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IResolvable
anyValue
(IAnyProducer producer) (experimental) Produces a lazy token from an untyped value.static IResolvable
anyValue
(IAnyProducer producer, LazyAnyValueOptions options) (experimental) Produces a lazy token from an untyped value.listValue
(IListProducer producer) (experimental) Returns a list-ified token for a lazy value.listValue
(IListProducer producer, LazyListValueOptions options) (experimental) Returns a list-ified token for a lazy value.static Number
numberValue
(INumberProducer producer) (experimental) Returns a numberified token for a lazy value.static String
stringValue
(IStringProducer producer) (experimental) Returns a stringified token for a lazy value.static String
stringValue
(IStringProducer producer, LazyStringValueOptions options) (experimental) Returns a stringified token for a lazy value.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, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Lazy
protected Lazy(software.amazon.jsii.JsiiObjectRef objRef) -
Lazy
protected Lazy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
Lazy
@Stability(Experimental) public Lazy()
-
-
Method Details
-
anyValue
@Stability(Experimental) @NotNull public static IResolvable anyValue(@NotNull IAnyProducer producer, @Nullable LazyAnyValueOptions options) (experimental) Produces a lazy token from an untyped value.- Parameters:
producer
- The lazy producer. This parameter is required.options
- Options.
-
anyValue
@Stability(Experimental) @NotNull public static IResolvable anyValue(@NotNull IAnyProducer producer) (experimental) Produces a lazy token from an untyped value.- Parameters:
producer
- The lazy producer. This parameter is required.
-
listValue
@Stability(Experimental) @NotNull public static List<String> listValue(@NotNull IListProducer producer, @Nullable LazyListValueOptions options) (experimental) Returns a list-ified token for a lazy value.- Parameters:
producer
- The producer. This parameter is required.options
- Options.
-
listValue
@Stability(Experimental) @NotNull public static List<String> listValue(@NotNull IListProducer producer) (experimental) Returns a list-ified token for a lazy value.- Parameters:
producer
- The producer. This parameter is required.
-
numberValue
@Stability(Experimental) @NotNull public static Number numberValue(@NotNull INumberProducer producer) (experimental) Returns a numberified token for a lazy value.- Parameters:
producer
- The producer. This parameter is required.
-
stringValue
@Stability(Experimental) @NotNull public static String stringValue(@NotNull IStringProducer producer, @Nullable LazyStringValueOptions options) (experimental) Returns a stringified token for a lazy value.- Parameters:
producer
- The producer. This parameter is required.options
- Options.
-
stringValue
@Stability(Experimental) @NotNull public static String stringValue(@NotNull IStringProducer producer) (experimental) Returns a stringified token for a lazy value.- Parameters:
producer
- The producer. This parameter is required.
-