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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.executionType(ProcessorType executionType) Sets the value ofProcessorConfig.getExecutionType()mode(ProcessorMode mode) Sets the value ofProcessorConfig.getMode()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
executionTypeSets the value ofProcessorConfig.getExecutionType()- Parameters:
- executionType- Specifies the execution type for the Map workflow. If you use the- Mapclass, you must provide this field if you specified- DISTRIBUTEDfor the- modesub-field.- If you use the - DistributedMapclass, this property is ignored. Use the- mapExecutionTypein the- DistributedMapclass instead.
- Returns:
- this
 
- 
modeSets the value ofProcessorConfig.getMode()- Parameters:
- mode- Specifies the execution mode for the Map workflow.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<ProcessorConfig>
- Returns:
- a new instance of ProcessorConfig
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-