@Stability(value=Stable) public static final class CfnModelPackage.ModelPackageContainerDefinitionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnModelPackage.ModelPackageContainerDefinitionProperty>
CfnModelPackage.ModelPackageContainerDefinitionProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnModelPackage.ModelPackageContainerDefinitionProperty.Builder image(String image)
CfnModelPackage.ModelPackageContainerDefinitionProperty.getImage()image - The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored. This parameter is required.
If you are using your own custom algorithm instead of an algorithm provided by SageMaker, the inference code must meet SageMaker requirements. SageMaker supports both registry/repository[:tag] and registry/repository[@digest] image path formats. For more information, see Using Your Own Algorithms with Amazon SageMaker .this@Stability(value=Stable) public CfnModelPackage.ModelPackageContainerDefinitionProperty.Builder containerHostname(String containerHostname)
containerHostname - The DNS host name for the Docker container.this@Stability(value=Stable) public CfnModelPackage.ModelPackageContainerDefinitionProperty.Builder environment(Object environment)
CfnModelPackage.ModelPackageContainerDefinitionProperty.getEnvironment()environment - The environment variables to set in the Docker container.
Each key and value in the Environment string to string map can have length of up to 1024. We support up to 16 entries in the map.this@Stability(value=Stable) public CfnModelPackage.ModelPackageContainerDefinitionProperty.Builder framework(String framework)
CfnModelPackage.ModelPackageContainerDefinitionProperty.getFramework()framework - The machine learning framework of the model package container image.this@Stability(value=Stable) public CfnModelPackage.ModelPackageContainerDefinitionProperty.Builder frameworkVersion(String frameworkVersion)
frameworkVersion - The framework version of the Model Package Container Image.this@Stability(value=Stable) public CfnModelPackage.ModelPackageContainerDefinitionProperty.Builder imageDigest(String imageDigest)
CfnModelPackage.ModelPackageContainerDefinitionProperty.getImageDigest()imageDigest - An MD5 hash of the training algorithm that identifies the Docker image used for training.this@Stability(value=Stable) public CfnModelPackage.ModelPackageContainerDefinitionProperty.Builder modelDataUrl(String modelDataUrl)
modelDataUrl - The Amazon S3 path where the model artifacts, which result from model training, are stored.
This path must point to a single gzip compressed tar archive ( .tar.gz suffix).
The model artifacts must be in an S3 bucket that is in the same region as the model package.
this@Stability(value=Stable) public CfnModelPackage.ModelPackageContainerDefinitionProperty.Builder modelInput(Object modelInput)
CfnModelPackage.ModelPackageContainerDefinitionProperty.getModelInput()modelInput - A structure with Model Input details.this@Stability(value=Stable) public CfnModelPackage.ModelPackageContainerDefinitionProperty.Builder nearestModelName(String nearestModelName)
nearestModelName - The name of a pre-trained machine learning benchmarked by Amazon SageMaker Inference Recommender model that matches your model.
You can find a list of benchmarked models by calling ListModelMetadata .this@Stability(value=Stable) public CfnModelPackage.ModelPackageContainerDefinitionProperty.Builder productId(String productId)
CfnModelPackage.ModelPackageContainerDefinitionProperty.getProductId()productId - The AWS Marketplace product ID of the model package.this@Stability(value=Stable) public CfnModelPackage.ModelPackageContainerDefinitionProperty build()
build in interface software.amazon.jsii.Builder<CfnModelPackage.ModelPackageContainerDefinitionProperty>CfnModelPackage.ModelPackageContainerDefinitionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.