Class CfnEndpointConfig.ClarifyTextConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnEndpointConfig.ClarifyTextConfigProperty.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnEndpointConfig.ClarifyTextConfigProperty>
- Enclosing interface:
 CfnEndpointConfig.ClarifyTextConfigProperty
@Stability(Stable)
public static final class CfnEndpointConfig.ClarifyTextConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointConfig.ClarifyTextConfigProperty>
A builder for 
CfnEndpointConfig.ClarifyTextConfigProperty- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.granularity(String granularity) Sets the value ofCfnEndpointConfig.ClarifyTextConfigProperty.getGranularity()Sets the value ofCfnEndpointConfig.ClarifyTextConfigProperty.getLanguage() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
granularity
@Stability(Stable) public CfnEndpointConfig.ClarifyTextConfigProperty.Builder granularity(String granularity) Sets the value ofCfnEndpointConfig.ClarifyTextConfigProperty.getGranularity()- Parameters:
 granularity- The unit of granularity for the analysis of text features. This parameter is required. For example, if the unit is'token', then each token (like a word in English) of the text is treated as a feature. SHAP values are computed for each unit/feature.- Returns:
 this
 - 
language
@Stability(Stable) public CfnEndpointConfig.ClarifyTextConfigProperty.Builder language(String language) Sets the value ofCfnEndpointConfig.ClarifyTextConfigProperty.getLanguage()- Parameters:
 language- Specifies the language of the text features in [ISO 639-1](https://docs.aws.amazon.com/ https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) or ISO 639-3 code of a supported language. This parameter is required.For a mix of multiple languages, use code
'xx'.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointConfig.ClarifyTextConfigProperty>- Returns:
 - a new instance of 
CfnEndpointConfig.ClarifyTextConfigProperty - Throws:
 NullPointerException- if any required attribute was not provided
 
 -