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.typeVersionArn(IResourceVersionRef 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(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
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- See Also:
-
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- See Also:
-
typeVersionArn
@Stability(Stable) public CfnResourceDefaultVersion.Builder typeVersionArn(IResourceVersionRef 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- See Also:
-
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- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceDefaultVersion>- Returns:
- a newly built instance of
CfnResourceDefaultVersion.
-