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