Class ProcessorConfig.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.ProcessorConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ProcessorConfig>
- Enclosing interface:
ProcessorConfig
@Stability(Stable)
public static final class ProcessorConfig.Builder
extends Object
implements software.amazon.jsii.Builder<ProcessorConfig>
A builder for
ProcessorConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.executionType
(ProcessorType executionType) Sets the value ofProcessorConfig.getExecutionType()
mode
(ProcessorMode mode) Sets the value ofProcessorConfig.getMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
executionType
Sets the value ofProcessorConfig.getExecutionType()
- Parameters:
executionType
- Specifies the execution type for the Map workflow. If you use theMap
class, you must provide this field if you specifiedDISTRIBUTED
for themode
sub-field.If you use the
DistributedMap
class, this property is ignored. Use themapExecutionType
in theDistributedMap
class instead.- Returns:
this
-
mode
Sets the value ofProcessorConfig.getMode()
- Parameters:
mode
- Specifies the execution mode for the Map workflow.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ProcessorConfig>
- Returns:
- a new instance of
ProcessorConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-