Class CfnStateMachine.SAMPolicyTemplateProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.CfnStateMachine.SAMPolicyTemplateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStateMachine.SAMPolicyTemplateProperty>
- Enclosing interface:
CfnStateMachine.SAMPolicyTemplateProperty
@Stability(Stable)
public static final class CfnStateMachine.SAMPolicyTemplateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStateMachine.SAMPolicyTemplateProperty>
A builder for
CfnStateMachine.SAMPolicyTemplateProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.lambdaInvokePolicy(IResolvable lambdaInvokePolicy) Sets the value ofCfnStateMachine.SAMPolicyTemplateProperty.getLambdaInvokePolicy()lambdaInvokePolicy(CfnStateMachine.FunctionSAMPTProperty lambdaInvokePolicy) Sets the value ofCfnStateMachine.SAMPolicyTemplateProperty.getLambdaInvokePolicy()stepFunctionsExecutionPolicy(IResolvable stepFunctionsExecutionPolicy) stepFunctionsExecutionPolicy(CfnStateMachine.StateMachineSAMPTProperty stepFunctionsExecutionPolicy)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
lambdaInvokePolicy
@Stability(Stable) public CfnStateMachine.SAMPolicyTemplateProperty.Builder lambdaInvokePolicy(IResolvable lambdaInvokePolicy) Sets the value ofCfnStateMachine.SAMPolicyTemplateProperty.getLambdaInvokePolicy()- Parameters:
lambdaInvokePolicy- the value to be set.- Returns:
this
-
lambdaInvokePolicy
@Stability(Stable) public CfnStateMachine.SAMPolicyTemplateProperty.Builder lambdaInvokePolicy(CfnStateMachine.FunctionSAMPTProperty lambdaInvokePolicy) Sets the value ofCfnStateMachine.SAMPolicyTemplateProperty.getLambdaInvokePolicy()- Parameters:
lambdaInvokePolicy- the value to be set.- Returns:
this
-
stepFunctionsExecutionPolicy
@Stability(Stable) public CfnStateMachine.SAMPolicyTemplateProperty.Builder stepFunctionsExecutionPolicy(IResolvable stepFunctionsExecutionPolicy) - Parameters:
stepFunctionsExecutionPolicy- the value to be set.- Returns:
this
-
stepFunctionsExecutionPolicy
@Stability(Stable) public CfnStateMachine.SAMPolicyTemplateProperty.Builder stepFunctionsExecutionPolicy(CfnStateMachine.StateMachineSAMPTProperty stepFunctionsExecutionPolicy) - Parameters:
stepFunctionsExecutionPolicy- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStateMachine.SAMPolicyTemplateProperty>- Returns:
- a new instance of
CfnStateMachine.SAMPolicyTemplateProperty - Throws:
NullPointerException- if any required attribute was not provided
-