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