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