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
-
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
-CfnEndpointConfig.ClarifyExplainerConfigProperty.ShapConfig
. 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
-CfnEndpointConfig.ClarifyExplainerConfigProperty.ShapConfig
. This parameter is required.- Returns:
this
-
enableExplanations
@Stability(Stable) public CfnEndpointConfig.ClarifyExplainerConfigProperty.Builder enableExplanations(String enableExplanations) Sets the value ofCfnEndpointConfig.ClarifyExplainerConfigProperty.getEnableExplanations()
- Parameters:
enableExplanations
-CfnEndpointConfig.ClarifyExplainerConfigProperty.EnableExplanations
.- Returns:
this
-
inferenceConfig
@Stability(Stable) public CfnEndpointConfig.ClarifyExplainerConfigProperty.Builder inferenceConfig(IResolvable inferenceConfig) Sets the value ofCfnEndpointConfig.ClarifyExplainerConfigProperty.getInferenceConfig()
- Parameters:
inferenceConfig
-CfnEndpointConfig.ClarifyExplainerConfigProperty.InferenceConfig
.- Returns:
this
-
inferenceConfig
@Stability(Stable) public CfnEndpointConfig.ClarifyExplainerConfigProperty.Builder inferenceConfig(CfnEndpointConfig.ClarifyInferenceConfigProperty inferenceConfig) Sets the value ofCfnEndpointConfig.ClarifyExplainerConfigProperty.getInferenceConfig()
- Parameters:
inferenceConfig
-CfnEndpointConfig.ClarifyExplainerConfigProperty.InferenceConfig
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEndpointConfig.ClarifyExplainerConfigProperty>
- Returns:
- a new instance of
CfnEndpointConfig.ClarifyExplainerConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-