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