Class CfnProjectProps.Builder
java.lang.Object
software.amazon.awscdk.services.databrew.CfnProjectProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProjectProps>
- Enclosing interface:
- CfnProjectProps
@Stability(Stable)
public static final class CfnProjectProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProjectProps>
A builder for
CfnProjectProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.datasetName(String datasetName) Sets the value ofCfnProjectProps.getDatasetName()Sets the value ofCfnProjectProps.getName()recipeName(String recipeName) Sets the value ofCfnProjectProps.getRecipeName()Sets the value ofCfnProjectProps.getRoleArn()sample(IResolvable sample) Sets the value ofCfnProjectProps.getSample()sample(CfnProject.SampleProperty sample) Sets the value ofCfnProjectProps.getSample()Sets the value ofCfnProjectProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
datasetName
Sets the value ofCfnProjectProps.getDatasetName()- Parameters:
datasetName- The dataset that the project is to act upon. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnProjectProps.getName()- Parameters:
name- The unique name of a project. This parameter is required.- Returns:
this
-
recipeName
Sets the value ofCfnProjectProps.getRecipeName()- Parameters:
recipeName- The name of a recipe that will be developed during a project session. This parameter is required.- Returns:
this
-
roleArn
Sets the value ofCfnProjectProps.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the role that will be assumed for this project. This parameter is required.- Returns:
this
-
sample
Sets the value ofCfnProjectProps.getSample()- Parameters:
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.- Returns:
this
-
sample
Sets the value ofCfnProjectProps.getSample()- Parameters:
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.- Returns:
this
-
tags
Sets the value ofCfnProjectProps.getTags()- Parameters:
tags- Metadata tags that have been applied to the project.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProjectProps>- Returns:
- a new instance of
CfnProjectProps - Throws:
NullPointerException- if any required attribute was not provided
-