Class CfnInferenceComponentPropsMixin.InferenceComponentDataCacheConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnInferenceComponentPropsMixin.InferenceComponentDataCacheConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInferenceComponentPropsMixin.InferenceComponentDataCacheConfigProperty>
- Enclosing interface:
CfnInferenceComponentPropsMixin.InferenceComponentDataCacheConfigProperty
@Stability(Stable)
public static final class CfnInferenceComponentPropsMixin.InferenceComponentDataCacheConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInferenceComponentPropsMixin.InferenceComponentDataCacheConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enableCaching(Boolean enableCaching) enableCaching(IResolvable enableCaching)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableCaching
@Stability(Stable) public CfnInferenceComponentPropsMixin.InferenceComponentDataCacheConfigProperty.Builder enableCaching(Boolean enableCaching) Sets the value ofCfnInferenceComponentPropsMixin.InferenceComponentDataCacheConfigProperty.getEnableCaching()- Parameters:
enableCaching- Whether the endpoint caches the model artifacts and container image on each instance it provisions for the inference component.- Returns:
this
-
enableCaching
@Stability(Stable) public CfnInferenceComponentPropsMixin.InferenceComponentDataCacheConfigProperty.Builder enableCaching(IResolvable enableCaching) Sets the value ofCfnInferenceComponentPropsMixin.InferenceComponentDataCacheConfigProperty.getEnableCaching()- Parameters:
enableCaching- Whether the endpoint caches the model artifacts and container image on each instance it provisions for the inference component.- Returns:
this
-
build
@Stability(Stable) public CfnInferenceComponentPropsMixin.InferenceComponentDataCacheConfigProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInferenceComponentPropsMixin.InferenceComponentDataCacheConfigProperty>- Returns:
- a new instance of
CfnInferenceComponentPropsMixin.InferenceComponentDataCacheConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-