Interface Output.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Output.Builder,Output>, SdkBuilder<Output.Builder,Output>, SdkPojo
Enclosing class:
Output

public static interface Output.Builder extends SdkPojo, CopyableBuilder<Output.Builder,Output>
  • Method Details

    • compressionFormat

      Output.Builder compressionFormat(String compressionFormat)

      The compression algorithm used to compress the output text of the job.

      Parameters:
      compressionFormat - The compression algorithm used to compress the output text of the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • compressionFormat

      Output.Builder compressionFormat(CompressionFormat compressionFormat)

      The compression algorithm used to compress the output text of the job.

      Parameters:
      compressionFormat - The compression algorithm used to compress the output text of the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • format

      Output.Builder format(String format)

      The data format of the output of the job.

      Parameters:
      format - The data format of the output of the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • format

      Output.Builder format(OutputFormat format)

      The data format of the output of the job.

      Parameters:
      format - The data format of the output of the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • partitionColumns

      Output.Builder partitionColumns(Collection<String> partitionColumns)

      The names of one or more partition columns for the output of the job.

      Parameters:
      partitionColumns - The names of one or more partition columns for the output of the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • partitionColumns

      Output.Builder partitionColumns(String... partitionColumns)

      The names of one or more partition columns for the output of the job.

      Parameters:
      partitionColumns - The names of one or more partition columns for the output of the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • location

      Output.Builder location(S3Location location)

      The location in Amazon S3 where the job writes its output.

      Parameters:
      location - The location in Amazon S3 where the job writes its output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • location

      default Output.Builder location(Consumer<S3Location.Builder> location)

      The location in Amazon S3 where the job writes its output.

      This is a convenience method that creates an instance of the S3Location.Builder avoiding the need to create one manually via S3Location.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to location(S3Location).

      Parameters:
      location - a consumer that will call methods on S3Location.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overwrite

      Output.Builder overwrite(Boolean overwrite)

      A value that, if true, means that any data in the location specified for output is overwritten with new output.

      Parameters:
      overwrite - A value that, if true, means that any data in the location specified for output is overwritten with new output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • formatOptions

      Output.Builder formatOptions(OutputFormatOptions formatOptions)

      Represents options that define how DataBrew formats job output files.

      Parameters:
      formatOptions - Represents options that define how DataBrew formats job output files.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • formatOptions

      default Output.Builder formatOptions(Consumer<OutputFormatOptions.Builder> formatOptions)

      Represents options that define how DataBrew formats job output files.

      This is a convenience method that creates an instance of the OutputFormatOptions.Builder avoiding the need to create one manually via OutputFormatOptions.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to formatOptions(OutputFormatOptions).

      Parameters:
      formatOptions - a consumer that will call methods on OutputFormatOptions.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • maxOutputFiles

      Output.Builder maxOutputFiles(Integer maxOutputFiles)

      Maximum number of files to be generated by the job and written to the output folder. For output partitioned by column(s), the MaxOutputFiles value is the maximum number of files per partition.

      Parameters:
      maxOutputFiles - Maximum number of files to be generated by the job and written to the output folder. For output partitioned by column(s), the MaxOutputFiles value is the maximum number of files per partition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.