@Stability(value=Stable) public static final class CfnModel.MultiModelConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnModel.MultiModelConfigProperty>
CfnModel.MultiModelConfigProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnModel.MultiModelConfigProperty |
build()
Builds the configured instance.
|
CfnModel.MultiModelConfigProperty.Builder |
modelCacheSetting(String modelCacheSetting)
Sets the value of
CfnModel.MultiModelConfigProperty.getModelCacheSetting() |
@Stability(value=Stable) public CfnModel.MultiModelConfigProperty.Builder modelCacheSetting(String modelCacheSetting)
CfnModel.MultiModelConfigProperty.getModelCacheSetting()modelCacheSetting - Whether to cache models for a multi-model endpoint.
By default, multi-model endpoints cache models so that a model does not have to be loaded into memory each time it is invoked. Some use cases do not benefit from model caching. For example, if an endpoint hosts a large number of models that are each invoked infrequently, the endpoint might perform better if you disable model caching. To disable model caching, set the value of this parameter to Disabled.this@Stability(value=Stable) public CfnModel.MultiModelConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnModel.MultiModelConfigProperty>CfnModel.MultiModelConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.