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