Class CfnProject.Builder

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

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

    • create

      @Stability(Stable) public static CfnProject.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnProject.Builder.
    • datasetName

      @Stability(Stable) public CfnProject.Builder datasetName(String datasetName)
      The dataset that the project is to act upon.

      Parameters:
      datasetName - The dataset that the project is to act upon. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnProject.Builder name(String name)
      The unique name of a project.

      Parameters:
      name - The unique name of a project. This parameter is required.
      Returns:
      this
    • recipeName

      @Stability(Stable) public CfnProject.Builder recipeName(String recipeName)
      The name of a recipe that will be developed during a project session.

      Parameters:
      recipeName - The name of a recipe that will be developed during a project session. This parameter is required.
      Returns:
      this
    • roleArn

      @Stability(Stable) public CfnProject.Builder roleArn(String roleArn)
      The Amazon Resource Name (ARN) of the role that will be assumed for this project.

      Parameters:
      roleArn - The Amazon Resource Name (ARN) of the role that will be assumed for this project. This parameter is required.
      Returns:
      this
    • sample

      @Stability(Stable) public CfnProject.Builder sample(IResolvable sample)
      The sample size and sampling type to apply to the data.

      If this parameter isn't specified, then the sample consists of the first 500 rows from the dataset.

      Parameters:
      sample - The sample size and sampling type to apply to the data. This parameter is required.
      Returns:
      this
    • sample

      @Stability(Stable) public CfnProject.Builder sample(CfnProject.SampleProperty sample)
      The sample size and sampling type to apply to the data.

      If this parameter isn't specified, then the sample consists of the first 500 rows from the dataset.

      Parameters:
      sample - The sample size and sampling type to apply to the data. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnProject.Builder tags(List<? extends CfnTag> tags)
      Metadata tags that have been applied to the project.

      Parameters:
      tags - Metadata tags that have been applied to the project. This parameter is required.
      Returns:
      this
    • build

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