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