@Stability(value=Stable)
public static interface CfnEndpointConfig.ProductionVariantProperty
extends software.amazon.jsii.JsiiSerializable
// 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.*;
ProductionVariantProperty productionVariantProperty = ProductionVariantProperty.builder()
.initialVariantWeight(123)
.modelName("modelName")
.variantName("variantName")
// the properties below are optional
.acceleratorType("acceleratorType")
.initialInstanceCount(123)
.instanceType("instanceType")
.serverlessConfig(ServerlessConfigProperty.builder()
.maxConcurrency(123)
.memorySizeInMb(123)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnEndpointConfig.ProductionVariantProperty.Builder
A builder for
CfnEndpointConfig.ProductionVariantProperty |
static class |
CfnEndpointConfig.ProductionVariantProperty.Jsii$Proxy
An implementation for
CfnEndpointConfig.ProductionVariantProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnEndpointConfig.ProductionVariantProperty.Builder |
builder() |
default String |
getAcceleratorType()
`CfnEndpointConfig.ProductionVariantProperty.AcceleratorType`.
|
default Number |
getInitialInstanceCount()
`CfnEndpointConfig.ProductionVariantProperty.InitialInstanceCount`.
|
Number |
getInitialVariantWeight()
`CfnEndpointConfig.ProductionVariantProperty.InitialVariantWeight`.
|
default String |
getInstanceType()
`CfnEndpointConfig.ProductionVariantProperty.InstanceType`.
|
String |
getModelName()
`CfnEndpointConfig.ProductionVariantProperty.ModelName`.
|
default Object |
getServerlessConfig()
`CfnEndpointConfig.ProductionVariantProperty.ServerlessConfig`.
|
String |
getVariantName()
`CfnEndpointConfig.ProductionVariantProperty.VariantName`.
|
@Stability(value=Stable) @Nullable default String getAcceleratorType()
@Stability(value=Stable) @Nullable default Number getInitialInstanceCount()
@Stability(value=Stable) @NotNull Number getInitialVariantWeight()
@Stability(value=Stable) @Nullable default String getInstanceType()
@Stability(value=Stable) @NotNull String getModelName()
@Stability(value=Stable) @Nullable default Object getServerlessConfig()
@Stability(value=Stable) @NotNull String getVariantName()
@Stability(value=Stable) static CfnEndpointConfig.ProductionVariantProperty.Builder builder()
Copyright © 2021. All rights reserved.