Class InstanceProductionVariantProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.sagemaker.alpha.InstanceProductionVariantProps.Jsii$Proxy
- All Implemented Interfaces:
InstanceProductionVariantProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
InstanceProductionVariantProps
@Stability(Experimental)
@Internal
public static final class InstanceProductionVariantProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements InstanceProductionVariantProps
An implementation for
InstanceProductionVariantProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.sagemaker.alpha.InstanceProductionVariantProps
InstanceProductionVariantProps.Builder, InstanceProductionVariantProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theInstanceProductionVariantProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal AcceleratorType(experimental) The size of the Elastic Inference (EI) instance to use for the production variant.final Number(experimental) Number of instances to launch initially.final Number(experimental) Determines initial traffic distribution among all of the models that you specify in the endpoint configuration.final InstanceType(experimental) Instance type of the production variant.final IModelgetModel()(experimental) The model to host.final String(experimental) Name of the production variant.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theInstanceProductionVariantProps.Builder.
-
-
Method Details
-
getModel
Description copied from interface:InstanceProductionVariantProps(experimental) The model to host.- Specified by:
getModelin interfaceInstanceProductionVariantProps
-
getVariantName
Description copied from interface:InstanceProductionVariantProps(experimental) Name of the production variant.- Specified by:
getVariantNamein interfaceInstanceProductionVariantProps
-
getAcceleratorType
Description copied from interface:InstanceProductionVariantProps(experimental) The size of the Elastic Inference (EI) instance to use for the production variant.EI instances provide on-demand GPU computing for inference.
Default: - none
- Specified by:
getAcceleratorTypein interfaceInstanceProductionVariantProps
-
getInitialInstanceCount
Description copied from interface:InstanceProductionVariantProps(experimental) Number of instances to launch initially.Default: 1
- Specified by:
getInitialInstanceCountin interfaceInstanceProductionVariantProps
-
getInitialVariantWeight
Description copied from interface:InstanceProductionVariantProps(experimental) Determines initial traffic distribution among all of the models that you specify in the endpoint configuration.The traffic to a production variant is determined by the ratio of the variant weight to the sum of all variant weight values across all production variants.
Default: 1.0
- Specified by:
getInitialVariantWeightin interfaceInstanceProductionVariantProps
-
getInstanceType
Description copied from interface:InstanceProductionVariantProps(experimental) Instance type of the production variant.Default: InstanceType.T2_MEDIUM
- Specified by:
getInstanceTypein interfaceInstanceProductionVariantProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-