Package software.amazon.awscdk
Class CfnModuleDefaultVersionProps.Builder
java.lang.Object
software.amazon.awscdk.CfnModuleDefaultVersionProps.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnModuleDefaultVersionProps>
- Enclosing interface:
- CfnModuleDefaultVersionProps
@Stability(Stable)
public static final class CfnModuleDefaultVersionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModuleDefaultVersionProps>
A builder for 
CfnModuleDefaultVersionProps- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionSets the value ofCfnModuleDefaultVersionProps.getArn()build()Builds the configured instance.moduleName(String moduleName) Sets the value ofCfnModuleDefaultVersionProps.getModuleName()Sets the value ofCfnModuleDefaultVersionProps.getVersionId()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
arnSets the value ofCfnModuleDefaultVersionProps.getArn()- Parameters:
- arn- The Amazon Resource Name (ARN) of the module version to set as the default version. Conditional: You must specify either- Arn, or- ModuleNameand- VersionId.
- Returns:
- this
 
- 
moduleNameSets the value ofCfnModuleDefaultVersionProps.getModuleName()- Parameters:
- moduleName- The name of the module. Conditional: You must specify either- Arn, or- ModuleNameand- VersionId.
- Returns:
- this
 
- 
versionIdSets the value ofCfnModuleDefaultVersionProps.getVersionId()- Parameters:
- versionId- The ID for the specific version of the module. Conditional: You must specify either- Arn, or- ModuleNameand- VersionId.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnModuleDefaultVersionProps>
- Returns:
- a new instance of CfnModuleDefaultVersionProps
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-