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