Interface ClarifyTextConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ClarifyTextConfig.Builder,ClarifyTextConfig>,SdkBuilder<ClarifyTextConfig.Builder,ClarifyTextConfig>,SdkPojo
- Enclosing class:
- ClarifyTextConfig
public static interface ClarifyTextConfig.Builder extends SdkPojo, CopyableBuilder<ClarifyTextConfig.Builder,ClarifyTextConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClarifyTextConfig.Buildergranularity(String granularity)The unit of granularity for the analysis of text features.ClarifyTextConfig.Buildergranularity(ClarifyTextGranularity granularity)The unit of granularity for the analysis of text features.ClarifyTextConfig.Builderlanguage(String language)ClarifyTextConfig.Builderlanguage(ClarifyTextLanguage language)-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
language
ClarifyTextConfig.Builder language(String language)
Specifies the language of the text features in ISO 639-1 or ISO 639-3 code of a supported language.
For a mix of multiple languages, use code
'xx'.- Parameters:
language- Specifies the language of the text features in ISO 639-1 or ISO 639-3 code of a supported language.For a mix of multiple languages, use code
'xx'.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ClarifyTextLanguage,ClarifyTextLanguage
-
language
ClarifyTextConfig.Builder language(ClarifyTextLanguage language)
Specifies the language of the text features in ISO 639-1 or ISO 639-3 code of a supported language.
For a mix of multiple languages, use code
'xx'.- Parameters:
language- Specifies the language of the text features in ISO 639-1 or ISO 639-3 code of a supported language.For a mix of multiple languages, use code
'xx'.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ClarifyTextLanguage,ClarifyTextLanguage
-
granularity
ClarifyTextConfig.Builder granularity(String granularity)
The unit of granularity for the analysis of text features. 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.- Parameters:
granularity- The unit of granularity for the analysis of text features. 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ClarifyTextGranularity,ClarifyTextGranularity
-
granularity
ClarifyTextConfig.Builder granularity(ClarifyTextGranularity granularity)
The unit of granularity for the analysis of text features. 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.- Parameters:
granularity- The unit of granularity for the analysis of text features. 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ClarifyTextGranularity,ClarifyTextGranularity
-
-