Skip to content

Lazy

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.

Static Functions

Name Description
anyValue No description.
listValue No description.
numberValue No description.
stringValue No description.

anyValue

import com.aliyun.ros.cdk.core.Lazy;
Lazy.anyValue(IAnyProducer producer),Lazy.anyValue(IAnyProducer producer, LazyAnyValueOptions options)

producerRequired


optionsOptional


listValue

import com.aliyun.ros.cdk.core.Lazy;
Lazy.listValue(IListProducer producer),Lazy.listValue(IListProducer producer, LazyListValueOptions options)

producerRequired


optionsOptional


numberValue

import com.aliyun.ros.cdk.core.Lazy;
Lazy.numberValue(INumberProducer producer)

producerRequired


stringValue

import com.aliyun.ros.cdk.core.Lazy;
Lazy.stringValue(IStringProducer producer),Lazy.stringValue(IStringProducer producer, LazyStringValueOptions options)

producerRequired


optionsOptional