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