Class CfnInferenceExperimentPropsMixin.ModelInfrastructureConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnInferenceExperimentPropsMixin.ModelInfrastructureConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInferenceExperimentPropsMixin.ModelInfrastructureConfigProperty>
- Enclosing interface:
CfnInferenceExperimentPropsMixin.ModelInfrastructureConfigProperty
@Stability(Stable)
public static final class CfnInferenceExperimentPropsMixin.ModelInfrastructureConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInferenceExperimentPropsMixin.ModelInfrastructureConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.infrastructureType(String infrastructureType) realTimeInferenceConfig(CfnInferenceExperimentPropsMixin.RealTimeInferenceConfigProperty realTimeInferenceConfig) realTimeInferenceConfig(IResolvable realTimeInferenceConfig)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
infrastructureType
@Stability(Stable) public CfnInferenceExperimentPropsMixin.ModelInfrastructureConfigProperty.Builder infrastructureType(String infrastructureType) Sets the value ofCfnInferenceExperimentPropsMixin.ModelInfrastructureConfigProperty.getInfrastructureType()- Parameters:
infrastructureType- The inference option to which to deploy your model. Possible values are the following:.RealTime: Deploy to real-time inference.
- Returns:
this
-
realTimeInferenceConfig
@Stability(Stable) public CfnInferenceExperimentPropsMixin.ModelInfrastructureConfigProperty.Builder realTimeInferenceConfig(IResolvable realTimeInferenceConfig) Sets the value ofCfnInferenceExperimentPropsMixin.ModelInfrastructureConfigProperty.getRealTimeInferenceConfig()- Parameters:
realTimeInferenceConfig- The infrastructure configuration for deploying the model to real-time inference.- Returns:
this
-
realTimeInferenceConfig
@Stability(Stable) public CfnInferenceExperimentPropsMixin.ModelInfrastructureConfigProperty.Builder realTimeInferenceConfig(CfnInferenceExperimentPropsMixin.RealTimeInferenceConfigProperty realTimeInferenceConfig) Sets the value ofCfnInferenceExperimentPropsMixin.ModelInfrastructureConfigProperty.getRealTimeInferenceConfig()- Parameters:
realTimeInferenceConfig- The infrastructure configuration for deploying the model to real-time inference.- Returns:
this
-
build
@Stability(Stable) public CfnInferenceExperimentPropsMixin.ModelInfrastructureConfigProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInferenceExperimentPropsMixin.ModelInfrastructureConfigProperty>- Returns:
- a new instance of
CfnInferenceExperimentPropsMixin.ModelInfrastructureConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-