public static final class CfnProjectProps.Builder
extends java.lang.Object
CfnProjectProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnProjectProps |
build()
Builds the configured instance.
|
CfnProjectProps.Builder |
datasetName(java.lang.String datasetName)
Sets the value of
CfnProjectProps.getDatasetName() |
CfnProjectProps.Builder |
name(java.lang.String name)
Sets the value of
CfnProjectProps.getName() |
CfnProjectProps.Builder |
recipeName(java.lang.String recipeName)
Sets the value of
CfnProjectProps.getRecipeName() |
CfnProjectProps.Builder |
roleArn(java.lang.String roleArn)
Sets the value of
CfnProjectProps.getRoleArn() |
CfnProjectProps.Builder |
sample(CfnProject.SampleProperty sample)
Sets the value of
CfnProjectProps.getSample() |
CfnProjectProps.Builder |
sample(IResolvable sample)
Sets the value of
CfnProjectProps.getSample() |
CfnProjectProps.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnProjectProps.getTags() |
public CfnProjectProps.Builder datasetName(java.lang.String datasetName)
CfnProjectProps.getDatasetName()
datasetName
- The dataset that the project is to act upon. This parameter is required.this
public CfnProjectProps.Builder name(java.lang.String name)
CfnProjectProps.getName()
name
- The unique name of a project. This parameter is required.this
public CfnProjectProps.Builder recipeName(java.lang.String recipeName)
CfnProjectProps.getRecipeName()
recipeName
- The name of a recipe that will be developed during a project session. This parameter is required.this
public CfnProjectProps.Builder roleArn(java.lang.String roleArn)
CfnProjectProps.getRoleArn()
roleArn
- The Amazon Resource Name (ARN) of the role that will be assumed for this project. This parameter is required.this
public CfnProjectProps.Builder sample(IResolvable sample)
CfnProjectProps.getSample()
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.this
public CfnProjectProps.Builder sample(CfnProject.SampleProperty sample)
CfnProjectProps.getSample()
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.this
public CfnProjectProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnProjectProps.getTags()
tags
- Metadata tags that have been applied to the project.this
public CfnProjectProps build()
CfnProjectProps
java.lang.NullPointerException
- if any required attribute was not provided