Class CfnEndpointConfig.ClarifyInferenceConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnEndpointConfig.ClarifyInferenceConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointConfig.ClarifyInferenceConfigProperty>
- Enclosing interface:
CfnEndpointConfig.ClarifyInferenceConfigProperty
@Stability(Stable)
public static final class CfnEndpointConfig.ClarifyInferenceConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointConfig.ClarifyInferenceConfigProperty>
A builder for
CfnEndpointConfig.ClarifyInferenceConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.contentTemplate
(String contentTemplate) Sets the value ofCfnEndpointConfig.ClarifyInferenceConfigProperty.getContentTemplate()
featureHeaders
(List<String> featureHeaders) Sets the value ofCfnEndpointConfig.ClarifyInferenceConfigProperty.getFeatureHeaders()
featuresAttribute
(String featuresAttribute) Sets the value ofCfnEndpointConfig.ClarifyInferenceConfigProperty.getFeaturesAttribute()
featureTypes
(List<String> featureTypes) Sets the value ofCfnEndpointConfig.ClarifyInferenceConfigProperty.getFeatureTypes()
labelAttribute
(String labelAttribute) Sets the value ofCfnEndpointConfig.ClarifyInferenceConfigProperty.getLabelAttribute()
labelHeaders
(List<String> labelHeaders) Sets the value ofCfnEndpointConfig.ClarifyInferenceConfigProperty.getLabelHeaders()
labelIndex
(Number labelIndex) Sets the value ofCfnEndpointConfig.ClarifyInferenceConfigProperty.getLabelIndex()
maxPayloadInMb
(Number maxPayloadInMb) Sets the value ofCfnEndpointConfig.ClarifyInferenceConfigProperty.getMaxPayloadInMb()
maxRecordCount
(Number maxRecordCount) Sets the value ofCfnEndpointConfig.ClarifyInferenceConfigProperty.getMaxRecordCount()
probabilityAttribute
(String probabilityAttribute) probabilityIndex
(Number probabilityIndex) Sets the value ofCfnEndpointConfig.ClarifyInferenceConfigProperty.getProbabilityIndex()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contentTemplate
@Stability(Stable) public CfnEndpointConfig.ClarifyInferenceConfigProperty.Builder contentTemplate(String contentTemplate) Sets the value ofCfnEndpointConfig.ClarifyInferenceConfigProperty.getContentTemplate()
- Parameters:
contentTemplate
-CfnEndpointConfig.ClarifyInferenceConfigProperty.ContentTemplate
.- Returns:
this
-
featureHeaders
@Stability(Stable) public CfnEndpointConfig.ClarifyInferenceConfigProperty.Builder featureHeaders(List<String> featureHeaders) Sets the value ofCfnEndpointConfig.ClarifyInferenceConfigProperty.getFeatureHeaders()
- Parameters:
featureHeaders
-CfnEndpointConfig.ClarifyInferenceConfigProperty.FeatureHeaders
.- Returns:
this
-
featuresAttribute
@Stability(Stable) public CfnEndpointConfig.ClarifyInferenceConfigProperty.Builder featuresAttribute(String featuresAttribute) Sets the value ofCfnEndpointConfig.ClarifyInferenceConfigProperty.getFeaturesAttribute()
- Parameters:
featuresAttribute
-CfnEndpointConfig.ClarifyInferenceConfigProperty.FeaturesAttribute
.- Returns:
this
-
featureTypes
@Stability(Stable) public CfnEndpointConfig.ClarifyInferenceConfigProperty.Builder featureTypes(List<String> featureTypes) Sets the value ofCfnEndpointConfig.ClarifyInferenceConfigProperty.getFeatureTypes()
- Parameters:
featureTypes
-CfnEndpointConfig.ClarifyInferenceConfigProperty.FeatureTypes
.- Returns:
this
-
labelAttribute
@Stability(Stable) public CfnEndpointConfig.ClarifyInferenceConfigProperty.Builder labelAttribute(String labelAttribute) Sets the value ofCfnEndpointConfig.ClarifyInferenceConfigProperty.getLabelAttribute()
- Parameters:
labelAttribute
-CfnEndpointConfig.ClarifyInferenceConfigProperty.LabelAttribute
.- Returns:
this
-
labelHeaders
@Stability(Stable) public CfnEndpointConfig.ClarifyInferenceConfigProperty.Builder labelHeaders(List<String> labelHeaders) Sets the value ofCfnEndpointConfig.ClarifyInferenceConfigProperty.getLabelHeaders()
- Parameters:
labelHeaders
-CfnEndpointConfig.ClarifyInferenceConfigProperty.LabelHeaders
.- Returns:
this
-
labelIndex
@Stability(Stable) public CfnEndpointConfig.ClarifyInferenceConfigProperty.Builder labelIndex(Number labelIndex) Sets the value ofCfnEndpointConfig.ClarifyInferenceConfigProperty.getLabelIndex()
- Parameters:
labelIndex
-CfnEndpointConfig.ClarifyInferenceConfigProperty.LabelIndex
.- Returns:
this
-
maxPayloadInMb
@Stability(Stable) public CfnEndpointConfig.ClarifyInferenceConfigProperty.Builder maxPayloadInMb(Number maxPayloadInMb) Sets the value ofCfnEndpointConfig.ClarifyInferenceConfigProperty.getMaxPayloadInMb()
- Parameters:
maxPayloadInMb
-CfnEndpointConfig.ClarifyInferenceConfigProperty.MaxPayloadInMB
.- Returns:
this
-
maxRecordCount
@Stability(Stable) public CfnEndpointConfig.ClarifyInferenceConfigProperty.Builder maxRecordCount(Number maxRecordCount) Sets the value ofCfnEndpointConfig.ClarifyInferenceConfigProperty.getMaxRecordCount()
- Parameters:
maxRecordCount
-CfnEndpointConfig.ClarifyInferenceConfigProperty.MaxRecordCount
.- Returns:
this
-
probabilityAttribute
@Stability(Stable) public CfnEndpointConfig.ClarifyInferenceConfigProperty.Builder probabilityAttribute(String probabilityAttribute) - Parameters:
probabilityAttribute
-CfnEndpointConfig.ClarifyInferenceConfigProperty.ProbabilityAttribute
.- Returns:
this
-
probabilityIndex
@Stability(Stable) public CfnEndpointConfig.ClarifyInferenceConfigProperty.Builder probabilityIndex(Number probabilityIndex) Sets the value ofCfnEndpointConfig.ClarifyInferenceConfigProperty.getProbabilityIndex()
- Parameters:
probabilityIndex
-CfnEndpointConfig.ClarifyInferenceConfigProperty.ProbabilityIndex
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEndpointConfig.ClarifyInferenceConfigProperty>
- Returns:
- a new instance of
CfnEndpointConfig.ClarifyInferenceConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-