Class CfnEndpointConfigPropsMixin.AsyncInferenceClientConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnEndpointConfigPropsMixin.AsyncInferenceClientConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointConfigPropsMixin.AsyncInferenceClientConfigProperty>
- Enclosing interface:
CfnEndpointConfigPropsMixin.AsyncInferenceClientConfigProperty
@Stability(Stable)
public static final class CfnEndpointConfigPropsMixin.AsyncInferenceClientConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointConfigPropsMixin.AsyncInferenceClientConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maxConcurrentInvocationsPerInstance(Number maxConcurrentInvocationsPerInstance)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxConcurrentInvocationsPerInstance
@Stability(Stable) public CfnEndpointConfigPropsMixin.AsyncInferenceClientConfigProperty.Builder maxConcurrentInvocationsPerInstance(Number maxConcurrentInvocationsPerInstance) Sets the value ofCfnEndpointConfigPropsMixin.AsyncInferenceClientConfigProperty.getMaxConcurrentInvocationsPerInstance()- Parameters:
maxConcurrentInvocationsPerInstance- The maximum number of concurrent requests sent by the SageMaker client to the model container. If no value is provided, SageMaker will choose an optimal value for you.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointConfigPropsMixin.AsyncInferenceClientConfigProperty>- Returns:
- a new instance of
CfnEndpointConfigPropsMixin.AsyncInferenceClientConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-