Class CfnEndpointConfig.ClarifyExplainerConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnEndpointConfig.ClarifyExplainerConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointConfig.ClarifyExplainerConfigProperty>
- Enclosing interface:
CfnEndpointConfig.ClarifyExplainerConfigProperty
@Stability(Stable)
public static final class CfnEndpointConfig.ClarifyExplainerConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointConfig.ClarifyExplainerConfigProperty>
A builder for
CfnEndpointConfig.ClarifyExplainerConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enableExplanations(String enableExplanations) Sets the value ofCfnEndpointConfig.ClarifyExplainerConfigProperty.getEnableExplanations()inferenceConfig(IResolvable inferenceConfig) Sets the value ofCfnEndpointConfig.ClarifyExplainerConfigProperty.getInferenceConfig()inferenceConfig(CfnEndpointConfig.ClarifyInferenceConfigProperty inferenceConfig) Sets the value ofCfnEndpointConfig.ClarifyExplainerConfigProperty.getInferenceConfig()shapConfig(IResolvable shapConfig) Sets the value ofCfnEndpointConfig.ClarifyExplainerConfigProperty.getShapConfig()Sets the value ofCfnEndpointConfig.ClarifyExplainerConfigProperty.getShapConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
shapConfig
@Stability(Stable) public CfnEndpointConfig.ClarifyExplainerConfigProperty.Builder shapConfig(IResolvable shapConfig) Sets the value ofCfnEndpointConfig.ClarifyExplainerConfigProperty.getShapConfig()- Parameters:
shapConfig- The configuration for SHAP analysis. This parameter is required.- Returns:
this
-
shapConfig
@Stability(Stable) public CfnEndpointConfig.ClarifyExplainerConfigProperty.Builder shapConfig(CfnEndpointConfig.ClarifyShapConfigProperty shapConfig) Sets the value ofCfnEndpointConfig.ClarifyExplainerConfigProperty.getShapConfig()- Parameters:
shapConfig- The configuration for SHAP analysis. This parameter is required.- Returns:
this
-
enableExplanations
@Stability(Stable) public CfnEndpointConfig.ClarifyExplainerConfigProperty.Builder enableExplanations(String enableExplanations) Sets the value ofCfnEndpointConfig.ClarifyExplainerConfigProperty.getEnableExplanations()- Parameters:
enableExplanations- A JMESPath boolean expression used to filter which records to explain. Explanations are activated by default. SeeEnableExplanationsfor additional information.- Returns:
this
-
inferenceConfig
@Stability(Stable) public CfnEndpointConfig.ClarifyExplainerConfigProperty.Builder inferenceConfig(IResolvable inferenceConfig) Sets the value ofCfnEndpointConfig.ClarifyExplainerConfigProperty.getInferenceConfig()- Parameters:
inferenceConfig- The inference configuration parameter for the model container.- Returns:
this
-
inferenceConfig
@Stability(Stable) public CfnEndpointConfig.ClarifyExplainerConfigProperty.Builder inferenceConfig(CfnEndpointConfig.ClarifyInferenceConfigProperty inferenceConfig) Sets the value ofCfnEndpointConfig.ClarifyExplainerConfigProperty.getInferenceConfig()- Parameters:
inferenceConfig- The inference configuration parameter for the model container.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointConfig.ClarifyExplainerConfigProperty>- Returns:
- a new instance of
CfnEndpointConfig.ClarifyExplainerConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-