Class CfnGuardHook.HookTargetProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cloudformation.CfnGuardHook.HookTargetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGuardHook.HookTargetProperty>
- Enclosing interface:
CfnGuardHook.HookTargetProperty
@Stability(Stable)
public static final class CfnGuardHook.HookTargetProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGuardHook.HookTargetProperty>
A builder for
CfnGuardHook.HookTargetProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnGuardHook.HookTargetProperty.getAction()build()Builds the configured instance.invocationPoint(String invocationPoint) Sets the value ofCfnGuardHook.HookTargetProperty.getInvocationPoint()targetName(String targetName) Sets the value ofCfnGuardHook.HookTargetProperty.getTargetName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
Sets the value ofCfnGuardHook.HookTargetProperty.getAction()- Parameters:
action- Target actions are the type of operation hooks will be executed at. This parameter is required.- Returns:
this
-
invocationPoint
@Stability(Stable) public CfnGuardHook.HookTargetProperty.Builder invocationPoint(String invocationPoint) Sets the value ofCfnGuardHook.HookTargetProperty.getInvocationPoint()- Parameters:
invocationPoint- Invocation points are the point in provisioning workflow where hooks will be executed. This parameter is required.- Returns:
this
-
targetName
Sets the value ofCfnGuardHook.HookTargetProperty.getTargetName()- Parameters:
targetName- Type name of hook target. This parameter is required. Hook targets are the destination where hooks will be invoked against.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGuardHook.HookTargetProperty>- Returns:
- a new instance of
CfnGuardHook.HookTargetProperty - Throws:
NullPointerException- if any required attribute was not provided
-