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