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