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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.sagemaker.alpha.InstanceProductionVariantProps
InstanceProductionVariantProps.Builder, InstanceProductionVariantProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theInstanceProductionVariantProps.Builder
.protected
Jsii$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.JsonNode
final boolean
final 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 IModel
getModel()
(experimental) The model to host.final String
(experimental) Name of the production variant.final int
hashCode()
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:
getModel
in interfaceInstanceProductionVariantProps
-
getVariantName
Description copied from interface:InstanceProductionVariantProps
(experimental) Name of the production variant.- Specified by:
getVariantName
in 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:
getAcceleratorType
in interfaceInstanceProductionVariantProps
-
getInitialInstanceCount
Description copied from interface:InstanceProductionVariantProps
(experimental) Number of instances to launch initially.Default: 1
- Specified by:
getInitialInstanceCount
in 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:
getInitialVariantWeight
in interfaceInstanceProductionVariantProps
-
getInstanceType
Description copied from interface:InstanceProductionVariantProps
(experimental) Instance type of the production variant.Default: InstanceType.T2_MEDIUM
- Specified by:
getInstanceType
in interfaceInstanceProductionVariantProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-