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