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