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