Class CfnModelPackagePropsMixin.ModelMetricsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnModelPackagePropsMixin.ModelMetricsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelPackagePropsMixin.ModelMetricsProperty>
- Enclosing interface:
CfnModelPackagePropsMixin.ModelMetricsProperty
@Stability(Stable)
public static final class CfnModelPackagePropsMixin.ModelMetricsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelPackagePropsMixin.ModelMetricsProperty>
A builder for
CfnModelPackagePropsMixin.ModelMetricsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnModelPackagePropsMixin.ModelMetricsProperty.getBias()bias(IResolvable bias) Sets the value ofCfnModelPackagePropsMixin.ModelMetricsProperty.getBias()build()Builds the configured instance.explainability(CfnModelPackagePropsMixin.ExplainabilityProperty explainability) Sets the value ofCfnModelPackagePropsMixin.ModelMetricsProperty.getExplainability()explainability(IResolvable explainability) Sets the value ofCfnModelPackagePropsMixin.ModelMetricsProperty.getExplainability()modelDataQuality(CfnModelPackagePropsMixin.ModelDataQualityProperty modelDataQuality) Sets the value ofCfnModelPackagePropsMixin.ModelMetricsProperty.getModelDataQuality()modelDataQuality(IResolvable modelDataQuality) Sets the value ofCfnModelPackagePropsMixin.ModelMetricsProperty.getModelDataQuality()modelQuality(CfnModelPackagePropsMixin.ModelQualityProperty modelQuality) Sets the value ofCfnModelPackagePropsMixin.ModelMetricsProperty.getModelQuality()modelQuality(IResolvable modelQuality) Sets the value ofCfnModelPackagePropsMixin.ModelMetricsProperty.getModelQuality()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bias
@Stability(Stable) public CfnModelPackagePropsMixin.ModelMetricsProperty.Builder bias(IResolvable bias) Sets the value ofCfnModelPackagePropsMixin.ModelMetricsProperty.getBias()- Parameters:
bias- Metrics that measure bias in a model.- Returns:
this
-
bias
@Stability(Stable) public CfnModelPackagePropsMixin.ModelMetricsProperty.Builder bias(CfnModelPackagePropsMixin.BiasProperty bias) Sets the value ofCfnModelPackagePropsMixin.ModelMetricsProperty.getBias()- Parameters:
bias- Metrics that measure bias in a model.- Returns:
this
-
explainability
@Stability(Stable) public CfnModelPackagePropsMixin.ModelMetricsProperty.Builder explainability(IResolvable explainability) Sets the value ofCfnModelPackagePropsMixin.ModelMetricsProperty.getExplainability()- Parameters:
explainability- Metrics that help explain a model.- Returns:
this
-
explainability
@Stability(Stable) public CfnModelPackagePropsMixin.ModelMetricsProperty.Builder explainability(CfnModelPackagePropsMixin.ExplainabilityProperty explainability) Sets the value ofCfnModelPackagePropsMixin.ModelMetricsProperty.getExplainability()- Parameters:
explainability- Metrics that help explain a model.- Returns:
this
-
modelDataQuality
@Stability(Stable) public CfnModelPackagePropsMixin.ModelMetricsProperty.Builder modelDataQuality(IResolvable modelDataQuality) Sets the value ofCfnModelPackagePropsMixin.ModelMetricsProperty.getModelDataQuality()- Parameters:
modelDataQuality- Metrics that measure the quality of the input data for a model.- Returns:
this
-
modelDataQuality
@Stability(Stable) public CfnModelPackagePropsMixin.ModelMetricsProperty.Builder modelDataQuality(CfnModelPackagePropsMixin.ModelDataQualityProperty modelDataQuality) Sets the value ofCfnModelPackagePropsMixin.ModelMetricsProperty.getModelDataQuality()- Parameters:
modelDataQuality- Metrics that measure the quality of the input data for a model.- Returns:
this
-
modelQuality
@Stability(Stable) public CfnModelPackagePropsMixin.ModelMetricsProperty.Builder modelQuality(IResolvable modelQuality) Sets the value ofCfnModelPackagePropsMixin.ModelMetricsProperty.getModelQuality()- Parameters:
modelQuality- Metrics that measure the quality of a model.- Returns:
this
-
modelQuality
@Stability(Stable) public CfnModelPackagePropsMixin.ModelMetricsProperty.Builder modelQuality(CfnModelPackagePropsMixin.ModelQualityProperty modelQuality) Sets the value ofCfnModelPackagePropsMixin.ModelMetricsProperty.getModelQuality()- Parameters:
modelQuality- Metrics that measure the quality of a model.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelPackagePropsMixin.ModelMetricsProperty>- Returns:
- a new instance of
CfnModelPackagePropsMixin.ModelMetricsProperty - Throws:
NullPointerException- if any required attribute was not provided
-