Class CfnInferenceExperimentPropsMixin.ModelVariantConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnInferenceExperimentPropsMixin.ModelVariantConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInferenceExperimentPropsMixin.ModelVariantConfigProperty>
- Enclosing interface:
CfnInferenceExperimentPropsMixin.ModelVariantConfigProperty
@Stability(Stable)
public static final class CfnInferenceExperimentPropsMixin.ModelVariantConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInferenceExperimentPropsMixin.ModelVariantConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.infrastructureConfig(CfnInferenceExperimentPropsMixin.ModelInfrastructureConfigProperty infrastructureConfig) infrastructureConfig(IResolvable infrastructureConfig) variantName(String variantName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
infrastructureConfig
@Stability(Stable) public CfnInferenceExperimentPropsMixin.ModelVariantConfigProperty.Builder infrastructureConfig(IResolvable infrastructureConfig) Sets the value ofCfnInferenceExperimentPropsMixin.ModelVariantConfigProperty.getInfrastructureConfig()- Parameters:
infrastructureConfig- The configuration for the infrastructure that the model will be deployed to.- Returns:
this
-
infrastructureConfig
@Stability(Stable) public CfnInferenceExperimentPropsMixin.ModelVariantConfigProperty.Builder infrastructureConfig(CfnInferenceExperimentPropsMixin.ModelInfrastructureConfigProperty infrastructureConfig) Sets the value ofCfnInferenceExperimentPropsMixin.ModelVariantConfigProperty.getInfrastructureConfig()- Parameters:
infrastructureConfig- The configuration for the infrastructure that the model will be deployed to.- Returns:
this
-
modelName
@Stability(Stable) public CfnInferenceExperimentPropsMixin.ModelVariantConfigProperty.Builder modelName(String modelName) - Parameters:
modelName- The name of the Amazon SageMaker Model entity.- Returns:
this
-
variantName
@Stability(Stable) public CfnInferenceExperimentPropsMixin.ModelVariantConfigProperty.Builder variantName(String variantName) - Parameters:
variantName- The name of the variant.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInferenceExperimentPropsMixin.ModelVariantConfigProperty>- Returns:
- a new instance of
CfnInferenceExperimentPropsMixin.ModelVariantConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-