Class CfnHookDefaultVersion.Builder

java.lang.Object
software.amazon.awscdk.core.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 Details

    • create

      @Stability(Stable) public static CfnHookDefaultVersion.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnHookDefaultVersion.Builder.
    • typeName

      @Stability(Stable) public CfnHookDefaultVersion.Builder typeName(String typeName)
      The name of the hook.

      You must specify either TypeVersionArn , or TypeName and VersionId .

      Parameters:
      typeName - The name of the hook. This parameter is required.
      Returns:
      this
    • typeVersionArn

      @Stability(Stable) public CfnHookDefaultVersion.Builder typeVersionArn(String typeVersionArn)
      The version ID of the type configuration.

      You must specify either TypeVersionArn , or TypeName and VersionId .

      Parameters:
      typeVersionArn - The version ID of the type configuration. This parameter is required.
      Returns:
      this
    • versionId

      @Stability(Stable) public CfnHookDefaultVersion.Builder versionId(String versionId)
      The version ID of the type specified.

      You must specify either TypeVersionArn , or TypeName and VersionId .

      Parameters:
      versionId - The version ID of the type specified. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnHookDefaultVersion build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnHookDefaultVersion>
      Returns:
      a newly built instance of CfnHookDefaultVersion.