Class ConfigSetProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.ConfigSetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ConfigSetProps>
- Enclosing interface:
- ConfigSetProps
@Stability(Stable)
public static final class ConfigSetProps.Builder
extends Object
implements software.amazon.jsii.Builder<ConfigSetProps>
A builder for
ConfigSetProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.configs
(Map<String, ? extends InitConfig> configs) Sets the value ofConfigSetProps.getConfigs()
configSets
(Map<String, ? extends List<String>> configSets) Sets the value ofConfigSetProps.getConfigSets()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configs
Sets the value ofConfigSetProps.getConfigs()
- Parameters:
configs
- The sets of configs to pick from. This parameter is required.- Returns:
this
-
configSets
@Stability(Stable) public ConfigSetProps.Builder configSets(Map<String, ? extends List<String>> configSets) Sets the value ofConfigSetProps.getConfigSets()
- Parameters:
configSets
- The definitions of each config set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ConfigSetProps>
- Returns:
- a new instance of
ConfigSetProps
- Throws:
NullPointerException
- if any required attribute was not provided
-