@Stability(value=Stable) public static final class LazyAnyValueOptions.Builder extends Object
LazyAnyValueOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LazyAnyValueOptions |
build()
Builds the configured instance.
|
LazyAnyValueOptions.Builder |
displayHint(String displayHint)
Sets the value of
LazyAnyValueOptions.getDisplayHint() |
LazyAnyValueOptions.Builder |
omitEmptyArray(Boolean omitEmptyArray)
Sets the value of
LazyAnyValueOptions.getOmitEmptyArray() |
@Stability(value=Stable) public LazyAnyValueOptions.Builder displayHint(String displayHint)
LazyAnyValueOptions.getDisplayHint()
displayHint
- Use the given name as a display hint.this
@Stability(value=Stable) public LazyAnyValueOptions.Builder omitEmptyArray(Boolean omitEmptyArray)
LazyAnyValueOptions.getOmitEmptyArray()
omitEmptyArray
- If the produced value is an array and it is empty, return 'undefined' instead.this
@Stability(value=Stable) public LazyAnyValueOptions build()
LazyAnyValueOptions
NullPointerException
- if any required attribute was not providedCopyright © 2020. All rights reserved.