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