Class CfnEndpointConfig.AsyncInferenceConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnEndpointConfig.AsyncInferenceConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointConfig.AsyncInferenceConfigProperty>
- Enclosing interface:
- CfnEndpointConfig.AsyncInferenceConfigProperty
@Stability(Stable)
public static final class CfnEndpointConfig.AsyncInferenceConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointConfig.AsyncInferenceConfigProperty>
A builder for
CfnEndpointConfig.AsyncInferenceConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.clientConfig(IResolvable clientConfig) Sets the value ofCfnEndpointConfig.AsyncInferenceConfigProperty.getClientConfig()Sets the value ofCfnEndpointConfig.AsyncInferenceConfigProperty.getClientConfig()outputConfig(IResolvable outputConfig) Sets the value ofCfnEndpointConfig.AsyncInferenceConfigProperty.getOutputConfig()Sets the value ofCfnEndpointConfig.AsyncInferenceConfigProperty.getOutputConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
outputConfig
@Stability(Stable) public CfnEndpointConfig.AsyncInferenceConfigProperty.Builder outputConfig(IResolvable outputConfig) Sets the value ofCfnEndpointConfig.AsyncInferenceConfigProperty.getOutputConfig()- Parameters:
outputConfig- Specifies the configuration for asynchronous inference invocation outputs. This parameter is required.- Returns:
this
-
outputConfig
@Stability(Stable) public CfnEndpointConfig.AsyncInferenceConfigProperty.Builder outputConfig(CfnEndpointConfig.AsyncInferenceOutputConfigProperty outputConfig) Sets the value ofCfnEndpointConfig.AsyncInferenceConfigProperty.getOutputConfig()- Parameters:
outputConfig- Specifies the configuration for asynchronous inference invocation outputs. This parameter is required.- Returns:
this
-
clientConfig
@Stability(Stable) public CfnEndpointConfig.AsyncInferenceConfigProperty.Builder clientConfig(IResolvable clientConfig) Sets the value ofCfnEndpointConfig.AsyncInferenceConfigProperty.getClientConfig()- Parameters:
clientConfig- Configures the behavior of the client used by SageMaker to interact with the model container during asynchronous inference.- Returns:
this
-
clientConfig
@Stability(Stable) public CfnEndpointConfig.AsyncInferenceConfigProperty.Builder clientConfig(CfnEndpointConfig.AsyncInferenceClientConfigProperty clientConfig) Sets the value ofCfnEndpointConfig.AsyncInferenceConfigProperty.getClientConfig()- Parameters:
clientConfig- Configures the behavior of the client used by SageMaker to interact with the model container during asynchronous inference.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointConfig.AsyncInferenceConfigProperty>- Returns:
- a new instance of
CfnEndpointConfig.AsyncInferenceConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-