Class CfnResourceDefaultVersion.Builder
java.lang.Object
software.amazon.awscdk.services.cloudformation.CfnResourceDefaultVersion.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceDefaultVersion>
- Enclosing class:
- CfnResourceDefaultVersion
@Stability(Stable)
public static final class CfnResourceDefaultVersion.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceDefaultVersion>
A fluent builder for
CfnResourceDefaultVersion.-
Method Summary
Modifier and TypeMethodDescriptionbuild()The name of the resource.typeVersionArn(String typeVersionArn) The Amazon Resource Name (ARN) of the resource version.The ID of a specific version of the resource.
-
Method Details
-
create
@Stability(Stable) public static CfnResourceDefaultVersion.Builder create(Construct scope, String id) - Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnResourceDefaultVersion.Builder.
-
typeName
The name of the resource.Conditional: You must specify either
TypeVersionArn, orTypeNameandVersionId.- Parameters:
typeName- The name of the resource. This parameter is required.- Returns:
this
-
typeVersionArn
The Amazon Resource Name (ARN) of the resource version.Conditional: You must specify either
TypeVersionArn, orTypeNameandVersionId.- Parameters:
typeVersionArn- The Amazon Resource Name (ARN) of the resource version. This parameter is required.- Returns:
this
-
versionId
The ID of a specific version of the resource.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, orTypeNameandVersionId.- Parameters:
versionId- The ID of a specific version of the resource. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceDefaultVersion>- Returns:
- a newly built instance of
CfnResourceDefaultVersion.
-