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