Class CfnModelPackage.BiasProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModelPackage.BiasProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelPackage.BiasProperty>
- Enclosing interface:
- CfnModelPackage.BiasProperty
@Stability(Stable)
public static final class CfnModelPackage.BiasProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelPackage.BiasProperty>
A builder for
CfnModelPackage.BiasProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.postTrainingReport(IResolvable postTrainingReport) Sets the value ofCfnModelPackage.BiasProperty.getPostTrainingReport()postTrainingReport(CfnModelPackage.MetricsSourceProperty postTrainingReport) Sets the value ofCfnModelPackage.BiasProperty.getPostTrainingReport()preTrainingReport(IResolvable preTrainingReport) Sets the value ofCfnModelPackage.BiasProperty.getPreTrainingReport()preTrainingReport(CfnModelPackage.MetricsSourceProperty preTrainingReport) Sets the value ofCfnModelPackage.BiasProperty.getPreTrainingReport()report(IResolvable report) Sets the value ofCfnModelPackage.BiasProperty.getReport()Sets the value ofCfnModelPackage.BiasProperty.getReport()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
postTrainingReport
@Stability(Stable) public CfnModelPackage.BiasProperty.Builder postTrainingReport(IResolvable postTrainingReport) Sets the value ofCfnModelPackage.BiasProperty.getPostTrainingReport()- Parameters:
postTrainingReport- The post-training bias report for a model.- Returns:
this
-
postTrainingReport
@Stability(Stable) public CfnModelPackage.BiasProperty.Builder postTrainingReport(CfnModelPackage.MetricsSourceProperty postTrainingReport) Sets the value ofCfnModelPackage.BiasProperty.getPostTrainingReport()- Parameters:
postTrainingReport- The post-training bias report for a model.- Returns:
this
-
preTrainingReport
@Stability(Stable) public CfnModelPackage.BiasProperty.Builder preTrainingReport(IResolvable preTrainingReport) Sets the value ofCfnModelPackage.BiasProperty.getPreTrainingReport()- Parameters:
preTrainingReport- The pre-training bias report for a model.- Returns:
this
-
preTrainingReport
@Stability(Stable) public CfnModelPackage.BiasProperty.Builder preTrainingReport(CfnModelPackage.MetricsSourceProperty preTrainingReport) Sets the value ofCfnModelPackage.BiasProperty.getPreTrainingReport()- Parameters:
preTrainingReport- The pre-training bias report for a model.- Returns:
this
-
report
Sets the value ofCfnModelPackage.BiasProperty.getReport()- Parameters:
report- The bias report for a model.- Returns:
this
-
report
@Stability(Stable) public CfnModelPackage.BiasProperty.Builder report(CfnModelPackage.MetricsSourceProperty report) Sets the value ofCfnModelPackage.BiasProperty.getReport()- Parameters:
report- The bias report for a model.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelPackage.BiasProperty>- Returns:
- a new instance of
CfnModelPackage.BiasProperty - Throws:
NullPointerException- if any required attribute was not provided
-