public static final class CfnResourceDefaultVersion.Builder
extends java.lang.Object
CfnResourceDefaultVersion
.Modifier and Type | Method and Description |
---|---|
CfnResourceDefaultVersion |
build() |
static CfnResourceDefaultVersion.Builder |
create(Construct scope,
java.lang.String id) |
CfnResourceDefaultVersion.Builder |
typeName(java.lang.String typeName)
The name of the resource.
|
CfnResourceDefaultVersion.Builder |
typeVersionArn(java.lang.String typeVersionArn)
The Amazon Resource Name (ARN) of the resource version.
|
CfnResourceDefaultVersion.Builder |
versionId(java.lang.String versionId)
The ID of a specific version of the resource.
|
public static CfnResourceDefaultVersion.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.CfnResourceDefaultVersion.Builder
.public CfnResourceDefaultVersion.Builder typeName(java.lang.String typeName)
Conditional: You must specify either TypeVersionArn
, or TypeName
and VersionId
.
typeName
- The name of the resource. This parameter is required.this
public CfnResourceDefaultVersion.Builder typeVersionArn(java.lang.String typeVersionArn)
Conditional: You must specify either TypeVersionArn
, or TypeName
and VersionId
.
typeVersionArn
- The Amazon Resource Name (ARN) of the resource version. This parameter is required.this
public CfnResourceDefaultVersion.Builder versionId(java.lang.String versionId)
The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the resource version when it's registered.
Conditional: You must specify either TypeVersionArn
, or TypeName
and VersionId
.
versionId
- The ID of a specific version of the resource. This parameter is required.this
public CfnResourceDefaultVersion build()