Package software.amazon.awscdk
Class LazyAnyValueOptions.Builder
java.lang.Object
software.amazon.awscdk.LazyAnyValueOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LazyAnyValueOptions>
- Enclosing interface:
LazyAnyValueOptions
@Stability(Stable)
public static final class LazyAnyValueOptions.Builder
extends Object
implements software.amazon.jsii.Builder<LazyAnyValueOptions>
A builder for
LazyAnyValueOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.displayHint
(String displayHint) Sets the value ofLazyAnyValueOptions.getDisplayHint()
omitEmptyArray
(Boolean omitEmptyArray) Sets the value ofLazyAnyValueOptions.getOmitEmptyArray()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
displayHint
Sets the value ofLazyAnyValueOptions.getDisplayHint()
- Parameters:
displayHint
- Use the given name as a display hint.- Returns:
this
-
omitEmptyArray
Sets the value ofLazyAnyValueOptions.getOmitEmptyArray()
- Parameters:
omitEmptyArray
- If the produced value is an array and it is empty, return 'undefined' instead.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<LazyAnyValueOptions>
- Returns:
- a new instance of
LazyAnyValueOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-