Interface Dataset.Builder

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

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

    • accountId

      Dataset.Builder accountId(String accountId)

      The ID of the Amazon Web Services account that owns the dataset.

      Parameters:
      accountId - The ID of the Amazon Web Services account that owns the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdBy

      Dataset.Builder createdBy(String createdBy)

      The Amazon Resource Name (ARN) of the user who created the dataset.

      Parameters:
      createdBy - The Amazon Resource Name (ARN) of the user who created the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createDate

      Dataset.Builder createDate(Instant createDate)

      The date and time that the dataset was created.

      Parameters:
      createDate - The date and time that the dataset was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Dataset.Builder name(String name)

      The unique name of the dataset.

      Parameters:
      name - The unique name of the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • format

      Dataset.Builder format(String format)

      The file format of a dataset that is created from an Amazon S3 file or folder.

      Parameters:
      format - The file format of a dataset that is created from an Amazon S3 file or folder.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • format

      Dataset.Builder format(InputFormat format)

      The file format of a dataset that is created from an Amazon S3 file or folder.

      Parameters:
      format - The file format of a dataset that is created from an Amazon S3 file or folder.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • formatOptions

      Dataset.Builder formatOptions(FormatOptions formatOptions)

      A set of options that define how DataBrew interprets the data in the dataset.

      Parameters:
      formatOptions - A set of options that define how DataBrew interprets the data in the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • formatOptions

      default Dataset.Builder formatOptions(Consumer<FormatOptions.Builder> formatOptions)

      A set of options that define how DataBrew interprets the data in the dataset.

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

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

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

      Dataset.Builder input(Input input)

      Information on how DataBrew can find the dataset, in either the Glue Data Catalog or Amazon S3.

      Parameters:
      input - Information on how DataBrew can find the dataset, in either the Glue Data Catalog or Amazon S3.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • input

      default Dataset.Builder input(Consumer<Input.Builder> input)

      Information on how DataBrew can find the dataset, in either the Glue Data Catalog or Amazon S3.

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

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

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

      Dataset.Builder lastModifiedDate(Instant lastModifiedDate)

      The last modification date and time of the dataset.

      Parameters:
      lastModifiedDate - The last modification date and time of the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedBy

      Dataset.Builder lastModifiedBy(String lastModifiedBy)

      The Amazon Resource Name (ARN) of the user who last modified the dataset.

      Parameters:
      lastModifiedBy - The Amazon Resource Name (ARN) of the user who last modified the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • source

      Dataset.Builder source(String source)

      The location of the data for the dataset, either Amazon S3 or the Glue Data Catalog.

      Parameters:
      source - The location of the data for the dataset, either Amazon S3 or the Glue Data Catalog.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • source

      Dataset.Builder source(Source source)

      The location of the data for the dataset, either Amazon S3 or the Glue Data Catalog.

      Parameters:
      source - The location of the data for the dataset, either Amazon S3 or the Glue Data Catalog.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pathOptions

      Dataset.Builder pathOptions(PathOptions pathOptions)

      A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.

      Parameters:
      pathOptions - A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pathOptions

      default Dataset.Builder pathOptions(Consumer<PathOptions.Builder> pathOptions)

      A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.

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

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

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

      Metadata tags that have been applied to the dataset.

      Parameters:
      tags - Metadata tags that have been applied to the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceArn

      Dataset.Builder resourceArn(String resourceArn)

      The unique Amazon Resource Name (ARN) for the dataset.

      Parameters:
      resourceArn - The unique Amazon Resource Name (ARN) for the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.