Class CfnModuleDefaultVersionPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudformation.CfnModuleDefaultVersionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModuleDefaultVersionPropsMixin>
- Enclosing class:
CfnModuleDefaultVersionPropsMixin
@Stability(Stable)
public static final class CfnModuleDefaultVersionPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModuleDefaultVersionPropsMixin>
A fluent builder for
CfnModuleDefaultVersionPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the module version to set as the default version.arn(IModuleVersionRef arn) The Amazon Resource Name (ARN) of the module version to set as the default version.build()create()create(CfnPropertyMixinOptions options) moduleName(String moduleName) The name of the module.The ID for the specific version of the module.
-
Method Details
-
create
@Stability(Stable) public static CfnModuleDefaultVersionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnModuleDefaultVersionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnModuleDefaultVersionPropsMixin.Builder.
-
arn
The Amazon Resource Name (ARN) of the module version to set as the default version.Conditional: You must specify either
Arn, orModuleNameandVersionId.- Parameters:
arn- The Amazon Resource Name (ARN) of the module version to set as the default version. This parameter is required.- Returns:
this- See Also:
-
arn
The Amazon Resource Name (ARN) of the module version to set as the default version.Conditional: You must specify either
Arn, orModuleNameandVersionId.- Parameters:
arn- The Amazon Resource Name (ARN) of the module version to set as the default version. This parameter is required.- Returns:
this- See Also:
-
moduleName
The name of the module.Conditional: You must specify either
Arn, orModuleNameandVersionId.- Parameters:
moduleName- The name of the module. This parameter is required.- Returns:
this- See Also:
-
versionId
The ID for the specific version of the module.Conditional: You must specify either
Arn, orModuleNameandVersionId.- Parameters:
versionId- The ID for the specific version of the module. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModuleDefaultVersionPropsMixin>- Returns:
- a newly built instance of
CfnModuleDefaultVersionPropsMixin.
-