Interface CfnInferenceExperiment.ShadowModelVariantConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInferenceExperiment.ShadowModelVariantConfigProperty.Jsii$Proxy
- Enclosing class:
- CfnInferenceExperiment
@Stability(Stable)
public static interface CfnInferenceExperiment.ShadowModelVariantConfigProperty
extends software.amazon.jsii.JsiiSerializable
The name and sampling percentage of a shadow variant.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;
ShadowModelVariantConfigProperty shadowModelVariantConfigProperty = ShadowModelVariantConfigProperty.builder()
.samplingPercentage(123)
.shadowModelVariantName("shadowModelVariantName")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnInferenceExperiment.ShadowModelVariantConfigPropertystatic final classAn implementation forCfnInferenceExperiment.ShadowModelVariantConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The percentage of inference requests that Amazon SageMaker replicates from the production variant to the shadow variant.The name of the shadow variant.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSamplingPercentage
The percentage of inference requests that Amazon SageMaker replicates from the production variant to the shadow variant. -
getShadowModelVariantName
The name of the shadow variant. -
builder
-