Class CfnLink.ModuleConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.rtbfabric.CfnLink.ModuleConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLink.ModuleConfigurationProperty>
- Enclosing interface:
CfnLink.ModuleConfigurationProperty
@Stability(Stable)
public static final class CfnLink.ModuleConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLink.ModuleConfigurationProperty>
A builder for
CfnLink.ModuleConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLink.ModuleConfigurationProperty.getDependsOn()moduleParameters(IResolvable moduleParameters) Sets the value ofCfnLink.ModuleConfigurationProperty.getModuleParameters()moduleParameters(CfnLink.ModuleParametersProperty moduleParameters) Sets the value ofCfnLink.ModuleConfigurationProperty.getModuleParameters()Sets the value ofCfnLink.ModuleConfigurationProperty.getName()Sets the value ofCfnLink.ModuleConfigurationProperty.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnLink.ModuleConfigurationProperty.getName()- Parameters:
name- The name of the module. This parameter is required.- Returns:
this
-
dependsOn
@Stability(Stable) public CfnLink.ModuleConfigurationProperty.Builder dependsOn(List<String> dependsOn) Sets the value ofCfnLink.ModuleConfigurationProperty.getDependsOn()- Parameters:
dependsOn- The dependencies of the module.- Returns:
this
-
moduleParameters
@Stability(Stable) public CfnLink.ModuleConfigurationProperty.Builder moduleParameters(IResolvable moduleParameters) Sets the value ofCfnLink.ModuleConfigurationProperty.getModuleParameters()- Parameters:
moduleParameters- Describes the parameters of a module.- Returns:
this
-
moduleParameters
@Stability(Stable) public CfnLink.ModuleConfigurationProperty.Builder moduleParameters(CfnLink.ModuleParametersProperty moduleParameters) Sets the value ofCfnLink.ModuleConfigurationProperty.getModuleParameters()- Parameters:
moduleParameters- Describes the parameters of a module.- Returns:
this
-
version
Sets the value ofCfnLink.ModuleConfigurationProperty.getVersion()- Parameters:
version- The version of the module.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLink.ModuleConfigurationProperty>- Returns:
- a new instance of
CfnLink.ModuleConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-