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
Constructors -
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 theMapclass, you must provide this field if you specifiedDISTRIBUTEDfor themodesub-field.If you use the
DistributedMapclass, this property is ignored. Use themapExecutionTypein theDistributedMapclass 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:
buildin interfacesoftware.amazon.jsii.Builder<ProcessorConfig>- Returns:
- a new instance of
ProcessorConfig - Throws:
NullPointerException- if any required attribute was not provided
-