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