Class CfnLambdaHook.TargetFiltersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cloudformation.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
-
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()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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:
build
in interfacesoftware.amazon.jsii.Builder<CfnLambdaHook.TargetFiltersProperty>
- Returns:
- a new instance of
CfnLambdaHook.TargetFiltersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-