Package software.amazon.awscdk.core
Class CfnMappingProps.Builder
java.lang.Object
software.amazon.awscdk.core.CfnMappingProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMappingProps>
- Enclosing interface:
- CfnMappingProps
@Stability(Stable)
public static final class CfnMappingProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMappingProps>
A builder for
CfnMappingProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnMappingProps.getLazy()
Sets the value ofCfnMappingProps.getMapping()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
lazy
Sets the value ofCfnMappingProps.getLazy()
- Parameters:
lazy
- the value to be set.- Returns:
this
-
mapping
@Stability(Stable) public CfnMappingProps.Builder mapping(Map<String, ? extends Map<String, ? extends Object>> mapping) Sets the value ofCfnMappingProps.getMapping()
- Parameters:
mapping
- Mapping of key to a set of corresponding set of named values. The key identifies a map of name-value pairs and must be unique within the mapping.For example, if you want to set values based on a region, you can create a mapping that uses the region name as a key and contains the values you want to specify for each specific region.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMappingProps>
- Returns:
- a new instance of
CfnMappingProps
- Throws:
NullPointerException
- if any required attribute was not provided
-