@Stability(value=Experimental) @Internal public static final class ProductionVariant.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ProductionVariant
ProductionVariantsoftware.amazon.jsii.JsiiObject.InitializationModeProductionVariant.Builder, ProductionVariant.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(InstanceType instanceType,
String modelName,
String variantName,
AcceleratorType acceleratorType,
Number initialInstanceCount,
Number initialVariantWeight)
Constructor that initializes the object based on literal property values passed by the
ProductionVariant.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) |
AcceleratorType |
getAcceleratorType()
(experimental) The size of the Elastic Inference (EI) instance to use for the production variant.
|
Number |
getInitialInstanceCount()
(experimental) Number of instances to launch initially.
|
Number |
getInitialVariantWeight()
(experimental) Determines initial traffic distribution among all of the models that you specify in the endpoint configuration.
|
InstanceType |
getInstanceType()
(experimental) The ML compute instance type.
|
String |
getModelName()
(experimental) The name of the model that you want to host.
|
String |
getVariantName()
(experimental) 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(InstanceType instanceType, String modelName, String variantName, AcceleratorType acceleratorType, Number initialInstanceCount, Number initialVariantWeight)
ProductionVariant.Builder.public final InstanceType getInstanceType()
ProductionVariantgetInstanceType in interface ProductionVariantpublic final String getModelName()
ProductionVariantThis is the name that you specified when creating the model.
getModelName in interface ProductionVariantpublic final String getVariantName()
ProductionVariantgetVariantName in interface ProductionVariantpublic final AcceleratorType getAcceleratorType()
ProductionVariantDefault: - None
getAcceleratorType in interface ProductionVariantpublic final Number getInitialInstanceCount()
ProductionVariantDefault: - 1
getInitialInstanceCount in interface ProductionVariantpublic final Number getInitialVariantWeight()
ProductionVariantDefault: - 1.0
getInitialVariantWeight in interface ProductionVariant@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.