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