Class ResultWriter.Builder

java.lang.Object
software.amazon.awscdk.services.stepfunctions.ResultWriter.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<ResultWriter>
Enclosing class:
ResultWriter

@Stability(Stable) public static final class ResultWriter.Builder extends Object implements software.amazon.jsii.Builder<ResultWriter>
A fluent builder for ResultWriter.
  • Method Details

    • create

      @Stability(Stable) public static ResultWriter.Builder create()
      Returns:
      a new instance of ResultWriter.Builder.
    • bucket

      @Stability(Stable) public ResultWriter.Builder bucket(IBucket bucket)
      S3 Bucket in which to save Map Run results.

      Parameters:
      bucket - S3 Bucket in which to save Map Run results. This parameter is required.
      Returns:
      this
    • prefix

      @Stability(Stable) public ResultWriter.Builder prefix(String prefix)
      S3 prefix in which to save Map Run results.

      Default: - No prefix

      Parameters:
      prefix - S3 prefix in which to save Map Run results. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public ResultWriter build()
      Specified by:
      build in interface software.amazon.jsii.Builder<ResultWriter>
      Returns:
      a newly built instance of ResultWriter.