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