Package software.amazon.awscdk
Class CfnHookDefaultVersionProps.Builder
java.lang.Object
software.amazon.awscdk.CfnHookDefaultVersionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHookDefaultVersionProps>
- Enclosing interface:
CfnHookDefaultVersionProps
@Stability(Stable)
public static final class CfnHookDefaultVersionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHookDefaultVersionProps>
A builder for
CfnHookDefaultVersionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnHookDefaultVersionProps.getTypeName()typeVersionArn(String typeVersionArn) Sets the value ofCfnHookDefaultVersionProps.getTypeVersionArn()Sets the value ofCfnHookDefaultVersionProps.getVersionId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
typeName
Sets the value ofCfnHookDefaultVersionProps.getTypeName()- Parameters:
typeName- The name of the Hook. You must specify eitherTypeVersionArn, orTypeNameandVersionId.- Returns:
this
-
typeVersionArn
Sets the value ofCfnHookDefaultVersionProps.getTypeVersionArn()- Parameters:
typeVersionArn- The version ID of the type configuration. You must specify eitherTypeVersionArn, orTypeNameandVersionId.- Returns:
this
-
versionId
Sets the value ofCfnHookDefaultVersionProps.getVersionId()- Parameters:
versionId- The version ID of the type specified. You must specify eitherTypeVersionArn, orTypeNameandVersionId.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHookDefaultVersionProps>- Returns:
- a new instance of
CfnHookDefaultVersionProps - Throws:
NullPointerException- if any required attribute was not provided
-