Package software.amazon.awscdk
Class CfnLambdaHook.TargetFiltersProperty.Builder
java.lang.Object
software.amazon.awscdk.CfnLambdaHook.TargetFiltersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLambdaHook.TargetFiltersProperty>
- Enclosing interface:
CfnLambdaHook.TargetFiltersProperty
@Stability(Stable)
public static final class CfnLambdaHook.TargetFiltersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLambdaHook.TargetFiltersProperty>
A builder for
CfnLambdaHook.TargetFiltersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnLambdaHook.TargetFiltersProperty.getActions()build()Builds the configured instance.invocationPoints(List<String> invocationPoints) Sets the value ofCfnLambdaHook.TargetFiltersProperty.getInvocationPoints()targetNames(List<String> targetNames) Sets the value ofCfnLambdaHook.TargetFiltersProperty.getTargetNames()Sets the value ofCfnLambdaHook.TargetFiltersProperty.getTargets()targets(IResolvable targets) Sets the value ofCfnLambdaHook.TargetFiltersProperty.getTargets()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
targets
Sets the value ofCfnLambdaHook.TargetFiltersProperty.getTargets()- Parameters:
targets- List of hook targets. This parameter is required.- Returns:
this
-
targets
@Stability(Stable) public CfnLambdaHook.TargetFiltersProperty.Builder targets(List<? extends Object> targets) Sets the value ofCfnLambdaHook.TargetFiltersProperty.getTargets()- Parameters:
targets- List of hook targets. This parameter is required.- Returns:
this
-
actions
Sets the value ofCfnLambdaHook.TargetFiltersProperty.getActions()- Parameters:
actions- List of actions that the hook is going to target.- Returns:
this
-
invocationPoints
@Stability(Stable) public CfnLambdaHook.TargetFiltersProperty.Builder invocationPoints(List<String> invocationPoints) Sets the value ofCfnLambdaHook.TargetFiltersProperty.getInvocationPoints()- Parameters:
invocationPoints- List of invocation points that the hook is going to target.- Returns:
this
-
targetNames
@Stability(Stable) public CfnLambdaHook.TargetFiltersProperty.Builder targetNames(List<String> targetNames) Sets the value ofCfnLambdaHook.TargetFiltersProperty.getTargetNames()- Parameters:
targetNames- List of type names that the hook is going to target.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLambdaHook.TargetFiltersProperty>- Returns:
- a new instance of
CfnLambdaHook.TargetFiltersProperty - Throws:
NullPointerException- if any required attribute was not provided
-