Package software.amazon.awscdk
Class CfnModuleDefaultVersion.Builder
java.lang.Object
software.amazon.awscdk.CfnModuleDefaultVersion.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModuleDefaultVersion>
- Enclosing class:
CfnModuleDefaultVersion
@Stability(Stable)
public static final class CfnModuleDefaultVersion.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModuleDefaultVersion>
A fluent builder for
CfnModuleDefaultVersion
.-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the module version to set as the default version.build()
moduleName
(String moduleName) The name of the module.The ID for the specific version of the module.
-
Method Details
-
create
@Stability(Stable) public static CfnModuleDefaultVersion.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnModuleDefaultVersion.Builder
.
-
arn
The Amazon Resource Name (ARN) of the module version to set as the default version.Conditional: You must specify either
Arn
, orModuleName
andVersionId
.- 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
, orModuleName
andVersionId
.- 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
, orModuleName
andVersionId
.- Parameters:
versionId
- The ID for the specific version of the module. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnModuleDefaultVersion>
- Returns:
- a newly built instance of
CfnModuleDefaultVersion
.
-