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