Class HookVersionReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.cloudformation.HookVersionReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HookVersionReference>
- Enclosing interface:
HookVersionReference
@Stability(Stable)
public static final class HookVersionReference.Builder
extends Object
implements software.amazon.jsii.Builder<HookVersionReference>
A builder for
HookVersionReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.hookVersionArn(String hookVersionArn) Sets the value ofHookVersionReference.getHookVersionArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hookVersionArn
Sets the value ofHookVersionReference.getHookVersionArn()- Parameters:
hookVersionArn- The Arn of the HookVersion resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HookVersionReference>- Returns:
- a new instance of
HookVersionReference - Throws:
NullPointerException- if any required attribute was not provided
-