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