@Stability(value=Stable) @Internal public static final class CfnEndpointConfig.ProductionVariantProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnEndpointConfig.ProductionVariantProperty
CfnEndpointConfig.ProductionVariantPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnEndpointConfig.ProductionVariantProperty.Builder, CfnEndpointConfig.ProductionVariantProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnEndpointConfig.ProductionVariantProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnEndpointConfig.AsyncInferenceClientConfigProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getAcceleratorType()
The size of the Elastic Inference (EI) instance to use for the production variant.
|
Number |
getInitialInstanceCount()
Number of instances to launch initially.
|
Number |
getInitialVariantWeight()
Determines initial traffic distribution among all of the models that you specify in the endpoint configuration.
|
String |
getInstanceType()
The ML compute instance type.
|
String |
getModelName()
The name of the model that you want to host.
|
Object |
getServerlessConfig()
The serverless configuration for an endpoint.
|
String |
getVariantName()
The name of the production variant.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnEndpointConfig.ProductionVariantProperty.Builder builder)
CfnEndpointConfig.AsyncInferenceClientConfigProperty.Builder.public final Number getInitialVariantWeight()
CfnEndpointConfig.ProductionVariantProperty
The traffic to a production variant is determined by the ratio of the VariantWeight to the sum of all VariantWeight values across all ProductionVariants. If unspecified, it defaults to 1.0.
getInitialVariantWeight in interface CfnEndpointConfig.ProductionVariantPropertypublic final String getModelName()
CfnEndpointConfig.ProductionVariantPropertyThis is the name that you specified when creating the model.
getModelName in interface CfnEndpointConfig.ProductionVariantPropertypublic final String getVariantName()
CfnEndpointConfig.ProductionVariantPropertygetVariantName in interface CfnEndpointConfig.ProductionVariantPropertypublic final String getAcceleratorType()
CfnEndpointConfig.ProductionVariantPropertyEI instances provide on-demand GPU computing for inference. For more information, see Using Elastic Inference in Amazon SageMaker . For more information, see Using Elastic Inference in Amazon SageMaker .
getAcceleratorType in interface CfnEndpointConfig.ProductionVariantPropertypublic final Number getInitialInstanceCount()
CfnEndpointConfig.ProductionVariantPropertygetInitialInstanceCount in interface CfnEndpointConfig.ProductionVariantPropertypublic final String getInstanceType()
CfnEndpointConfig.ProductionVariantPropertygetInstanceType in interface CfnEndpointConfig.ProductionVariantPropertypublic final Object getServerlessConfig()
CfnEndpointConfig.ProductionVariantPropertySpecifies a serverless endpoint configuration instead of an instance-based endpoint configuration.
getServerlessConfig in interface CfnEndpointConfig.ProductionVariantProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.