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-CfnEndpointConfig.ClarifyTextConfigProperty.Granularity. This parameter is required.- Returns:
this
-
language
@Stability(Stable) public CfnEndpointConfig.ClarifyTextConfigProperty.Builder language(String language) Sets the value ofCfnEndpointConfig.ClarifyTextConfigProperty.getLanguage()- Parameters:
language-CfnEndpointConfig.ClarifyTextConfigProperty.Language. This parameter is required.- 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
-