Package software.amazon.awscdk
Class ResolveChangeContextOptions.Builder
java.lang.Object
software.amazon.awscdk.ResolveChangeContextOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ResolveChangeContextOptions>
- Enclosing interface:
ResolveChangeContextOptions
@Stability(Stable)
public static final class ResolveChangeContextOptions.Builder
extends Object
implements software.amazon.jsii.Builder<ResolveChangeContextOptions>
A builder for
ResolveChangeContextOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallowIntrinsicKeys
(Boolean allowIntrinsicKeys) Sets the value ofResolveChangeContextOptions.getAllowIntrinsicKeys()
build()
Builds the configured instance.removeEmpty
(Boolean removeEmpty) Sets the value ofResolveChangeContextOptions.getRemoveEmpty()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowIntrinsicKeys
@Stability(Stable) public ResolveChangeContextOptions.Builder allowIntrinsicKeys(Boolean allowIntrinsicKeys) Sets the value ofResolveChangeContextOptions.getAllowIntrinsicKeys()
- Parameters:
allowIntrinsicKeys
- Change the 'allowIntrinsicKeys' option.- Returns:
this
-
removeEmpty
Sets the value ofResolveChangeContextOptions.getRemoveEmpty()
- Parameters:
removeEmpty
- Whether to remove undefined elements from arrays and objects when resolving.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ResolveChangeContextOptions>
- Returns:
- a new instance of
ResolveChangeContextOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-