public static final class CfnModuleDefaultVersion.Builder
extends java.lang.Object
CfnModuleDefaultVersion
.Modifier and Type | Method and Description |
---|---|
CfnModuleDefaultVersion.Builder |
arn(java.lang.String arn)
The Amazon Resource Name (ARN) of the module version to set as the default version.
|
CfnModuleDefaultVersion |
build() |
static CfnModuleDefaultVersion.Builder |
create(Construct scope,
java.lang.String id) |
CfnModuleDefaultVersion.Builder |
moduleName(java.lang.String moduleName)
The name of the module.
|
CfnModuleDefaultVersion.Builder |
versionId(java.lang.String versionId)
The ID for the specific version of the module.
|
public static CfnModuleDefaultVersion.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnModuleDefaultVersion.Builder
.public CfnModuleDefaultVersion.Builder arn(java.lang.String arn)
Conditional: You must specify either Arn
, or ModuleName
and VersionId
.
arn
- The Amazon Resource Name (ARN) of the module version to set as the default version. This parameter is required.this
public CfnModuleDefaultVersion.Builder moduleName(java.lang.String moduleName)
Conditional: You must specify either Arn
, or ModuleName
and VersionId
.
moduleName
- The name of the module. This parameter is required.this
public CfnModuleDefaultVersion.Builder versionId(java.lang.String versionId)
Conditional: You must specify either Arn
, or ModuleName
and VersionId
.
versionId
- The ID for the specific version of the module. This parameter is required.this
public CfnModuleDefaultVersion build()