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)
- Type: IAnyProducer
- Type: LazyAnyValueOptions
listValue
import com.aliyun.ros.cdk.core.Lazy;
Lazy.listValue(IListProducer producer),Lazy.listValue(IListProducer producer, LazyListValueOptions options)
- Type: IListProducer
- Type: LazyListValueOptions
numberValue
import com.aliyun.ros.cdk.core.Lazy;
Lazy.numberValue(INumberProducer producer)
- Type: INumberProducer
stringValue
import com.aliyun.ros.cdk.core.Lazy;
Lazy.stringValue(IStringProducer producer),Lazy.stringValue(IStringProducer producer, LazyStringValueOptions options)
- Type: IStringProducer
- Type: LazyStringValueOptions