Class CfnModelQualityJobDefinition.DatasetFormatProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModelQualityJobDefinition.DatasetFormatProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelQualityJobDefinition.DatasetFormatProperty>
- Enclosing interface:
CfnModelQualityJobDefinition.DatasetFormatProperty
@Stability(Stable)
public static final class CfnModelQualityJobDefinition.DatasetFormatProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelQualityJobDefinition.DatasetFormatProperty>
A builder for
CfnModelQualityJobDefinition.DatasetFormatProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.csv
(IResolvable csv) Sets the value ofCfnModelQualityJobDefinition.DatasetFormatProperty.getCsv()
Sets the value ofCfnModelQualityJobDefinition.DatasetFormatProperty.getCsv()
json
(IResolvable json) Sets the value ofCfnModelQualityJobDefinition.DatasetFormatProperty.getJson()
Sets the value ofCfnModelQualityJobDefinition.DatasetFormatProperty.getJson()
Sets the value ofCfnModelQualityJobDefinition.DatasetFormatProperty.getParquet()
parquet
(IResolvable parquet) Sets the value ofCfnModelQualityJobDefinition.DatasetFormatProperty.getParquet()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
csv
@Stability(Stable) public CfnModelQualityJobDefinition.DatasetFormatProperty.Builder csv(IResolvable csv) Sets the value ofCfnModelQualityJobDefinition.DatasetFormatProperty.getCsv()
- Parameters:
csv
- The CSV format.- Returns:
this
-
csv
@Stability(Stable) public CfnModelQualityJobDefinition.DatasetFormatProperty.Builder csv(CfnModelQualityJobDefinition.CsvProperty csv) Sets the value ofCfnModelQualityJobDefinition.DatasetFormatProperty.getCsv()
- Parameters:
csv
- The CSV format.- Returns:
this
-
json
@Stability(Stable) public CfnModelQualityJobDefinition.DatasetFormatProperty.Builder json(IResolvable json) Sets the value ofCfnModelQualityJobDefinition.DatasetFormatProperty.getJson()
- Parameters:
json
- The Json format.- Returns:
this
-
json
@Stability(Stable) public CfnModelQualityJobDefinition.DatasetFormatProperty.Builder json(CfnModelQualityJobDefinition.JsonProperty json) Sets the value ofCfnModelQualityJobDefinition.DatasetFormatProperty.getJson()
- Parameters:
json
- The Json format.- Returns:
this
-
parquet
@Stability(Stable) public CfnModelQualityJobDefinition.DatasetFormatProperty.Builder parquet(Boolean parquet) Sets the value ofCfnModelQualityJobDefinition.DatasetFormatProperty.getParquet()
- Parameters:
parquet
- A flag indicating if the dataset format is Parquet.- Returns:
this
-
parquet
@Stability(Stable) public CfnModelQualityJobDefinition.DatasetFormatProperty.Builder parquet(IResolvable parquet) Sets the value ofCfnModelQualityJobDefinition.DatasetFormatProperty.getParquet()
- Parameters:
parquet
- A flag indicating if the dataset format is Parquet.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnModelQualityJobDefinition.DatasetFormatProperty>
- Returns:
- a new instance of
CfnModelQualityJobDefinition.DatasetFormatProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-