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