Skip to content

LazyAnyValueOptions

Options for creating lazy untyped tokens.

Initializer

import com.aliyun.ros.cdk.core.LazyAnyValueOptions;
LazyAnyValueOptions.builder()
//  .displayHint(java.lang.String)
//  .omitEmptyArray(java.lang.Boolean)
    .build();

Properties

Name Type Description
displayHint java.lang.String Use the given name as a display hint.
omitEmptyArray java.lang.Boolean If the produced value is an array and it is empty, return 'undefined' instead.

displayHintOptional

public java.lang.String getDisplayHint();
  • Type: java.lang.String
  • Default: No hint

Use the given name as a display hint.


omitEmptyArrayOptional

public java.lang.Boolean getOmitEmptyArray();
  • Type: java.lang.Boolean
  • Default: false

If the produced value is an array and it is empty, return 'undefined' instead.