Class CfnModelPackage.DriftCheckModelDataQualityProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModelPackage.DriftCheckModelDataQualityProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelPackage.DriftCheckModelDataQualityProperty>
- Enclosing interface:
CfnModelPackage.DriftCheckModelDataQualityProperty
@Stability(Stable)
public static final class CfnModelPackage.DriftCheckModelDataQualityProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelPackage.DriftCheckModelDataQualityProperty>
A builder for
CfnModelPackage.DriftCheckModelDataQualityProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.constraints
(IResolvable constraints) Sets the value ofCfnModelPackage.DriftCheckModelDataQualityProperty.getConstraints()
constraints
(CfnModelPackage.MetricsSourceProperty constraints) Sets the value ofCfnModelPackage.DriftCheckModelDataQualityProperty.getConstraints()
statistics
(IResolvable statistics) Sets the value ofCfnModelPackage.DriftCheckModelDataQualityProperty.getStatistics()
statistics
(CfnModelPackage.MetricsSourceProperty statistics) Sets the value ofCfnModelPackage.DriftCheckModelDataQualityProperty.getStatistics()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
constraints
@Stability(Stable) public CfnModelPackage.DriftCheckModelDataQualityProperty.Builder constraints(IResolvable constraints) Sets the value ofCfnModelPackage.DriftCheckModelDataQualityProperty.getConstraints()
- Parameters:
constraints
- The drift check model data quality constraints.- Returns:
this
-
constraints
@Stability(Stable) public CfnModelPackage.DriftCheckModelDataQualityProperty.Builder constraints(CfnModelPackage.MetricsSourceProperty constraints) Sets the value ofCfnModelPackage.DriftCheckModelDataQualityProperty.getConstraints()
- Parameters:
constraints
- The drift check model data quality constraints.- Returns:
this
-
statistics
@Stability(Stable) public CfnModelPackage.DriftCheckModelDataQualityProperty.Builder statistics(IResolvable statistics) Sets the value ofCfnModelPackage.DriftCheckModelDataQualityProperty.getStatistics()
- Parameters:
statistics
- The drift check model data quality statistics.- Returns:
this
-
statistics
@Stability(Stable) public CfnModelPackage.DriftCheckModelDataQualityProperty.Builder statistics(CfnModelPackage.MetricsSourceProperty statistics) Sets the value ofCfnModelPackage.DriftCheckModelDataQualityProperty.getStatistics()
- Parameters:
statistics
- The drift check model data quality statistics.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnModelPackage.DriftCheckModelDataQualityProperty>
- Returns:
- a new instance of
CfnModelPackage.DriftCheckModelDataQualityProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-