Class CfnInferenceExperimentPropsMixin.ShadowModeConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnInferenceExperimentPropsMixin.ShadowModeConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInferenceExperimentPropsMixin.ShadowModeConfigProperty>
- Enclosing interface:
CfnInferenceExperimentPropsMixin.ShadowModeConfigProperty
@Stability(Stable)
public static final class CfnInferenceExperimentPropsMixin.ShadowModeConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInferenceExperimentPropsMixin.ShadowModeConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.shadowModelVariants(List<? extends Object> shadowModelVariants) shadowModelVariants(IResolvable shadowModelVariants) sourceModelVariantName(String sourceModelVariantName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
shadowModelVariants
@Stability(Stable) public CfnInferenceExperimentPropsMixin.ShadowModeConfigProperty.Builder shadowModelVariants(IResolvable shadowModelVariants) Sets the value ofCfnInferenceExperimentPropsMixin.ShadowModeConfigProperty.getShadowModelVariants()- Parameters:
shadowModelVariants- List of shadow variant configurations.- Returns:
this
-
shadowModelVariants
@Stability(Stable) public CfnInferenceExperimentPropsMixin.ShadowModeConfigProperty.Builder shadowModelVariants(List<? extends Object> shadowModelVariants) Sets the value ofCfnInferenceExperimentPropsMixin.ShadowModeConfigProperty.getShadowModelVariants()- Parameters:
shadowModelVariants- List of shadow variant configurations.- Returns:
this
-
sourceModelVariantName
@Stability(Stable) public CfnInferenceExperimentPropsMixin.ShadowModeConfigProperty.Builder sourceModelVariantName(String sourceModelVariantName) Sets the value ofCfnInferenceExperimentPropsMixin.ShadowModeConfigProperty.getSourceModelVariantName()- Parameters:
sourceModelVariantName- The name of the production variant, which takes all the inference requests.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInferenceExperimentPropsMixin.ShadowModeConfigProperty>- Returns:
- a new instance of
CfnInferenceExperimentPropsMixin.ShadowModeConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-