Class DefinitionConfig.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.DefinitionConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DefinitionConfig>
- Enclosing interface:
DefinitionConfig
@Stability(Stable)
public static final class DefinitionConfig.Builder
extends Object
implements software.amazon.jsii.Builder<DefinitionConfig>
A builder for
DefinitionConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.definition
(Object definition) Sets the value ofDefinitionConfig.getDefinition()
definitionS3Location
(CfnStateMachine.S3LocationProperty definitionS3Location) Sets the value ofDefinitionConfig.getDefinitionS3Location()
definitionString
(String definitionString) Sets the value ofDefinitionConfig.getDefinitionString()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
definition
Sets the value ofDefinitionConfig.getDefinition()
- Parameters:
definition
- the value to be set.- Returns:
this
-
definitionS3Location
@Stability(Stable) public DefinitionConfig.Builder definitionS3Location(CfnStateMachine.S3LocationProperty definitionS3Location) Sets the value ofDefinitionConfig.getDefinitionS3Location()
- Parameters:
definitionS3Location
- the value to be set.- Returns:
this
-
definitionString
Sets the value ofDefinitionConfig.getDefinitionString()
- Parameters:
definitionString
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<DefinitionConfig>
- Returns:
- a new instance of
DefinitionConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-