public static final class CfnHookDefaultVersionProps.Builder
extends java.lang.Object
CfnHookDefaultVersionProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnHookDefaultVersionProps |
build()
Builds the configured instance.
|
CfnHookDefaultVersionProps.Builder |
typeName(java.lang.String typeName)
Sets the value of
CfnHookDefaultVersionProps.getTypeName() |
CfnHookDefaultVersionProps.Builder |
typeVersionArn(java.lang.String typeVersionArn)
Sets the value of
CfnHookDefaultVersionProps.getTypeVersionArn() |
CfnHookDefaultVersionProps.Builder |
versionId(java.lang.String versionId)
Sets the value of
CfnHookDefaultVersionProps.getVersionId() |
public CfnHookDefaultVersionProps.Builder typeName(java.lang.String typeName)
CfnHookDefaultVersionProps.getTypeName()
typeName
- The name of the hook.
You must specify either TypeVersionArn
, or TypeName
and VersionId
.this
public CfnHookDefaultVersionProps.Builder typeVersionArn(java.lang.String typeVersionArn)
CfnHookDefaultVersionProps.getTypeVersionArn()
typeVersionArn
- The version ID of the type configuration.
You must specify either TypeVersionArn
, or TypeName
and VersionId
.this
public CfnHookDefaultVersionProps.Builder versionId(java.lang.String versionId)
CfnHookDefaultVersionProps.getVersionId()
versionId
- The version ID of the type specified.
You must specify either TypeVersionArn
, or TypeName
and VersionId
.this
public CfnHookDefaultVersionProps build()
CfnHookDefaultVersionProps
java.lang.NullPointerException
- if any required attribute was not provided