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 Details

    • Builder

      public Builder()
  • Method Details

    • executionType

      @Stability(Stable) public ProcessorConfig.Builder executionType(ProcessorType executionType)
      Parameters:
      executionType - Specifies the execution type for the Map workflow. If you use the Map class, you must provide this field if you specified DISTRIBUTED for the mode sub-field.

      If you use the DistributedMap class, this property is ignored. Use the mapExecutionType in the DistributedMap class instead.

      Returns:
      this
    • mode

      @Stability(Stable) public ProcessorConfig.Builder mode(ProcessorMode mode)
      Sets the value of ProcessorConfig.getMode()
      Parameters:
      mode - Specifies the execution mode for the Map workflow.
      Returns:
      this
    • build

      @Stability(Stable) public ProcessorConfig build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<ProcessorConfig>
      Returns:
      a new instance of ProcessorConfig
      Throws:
      NullPointerException - if any required attribute was not provided