public static interface ModelPackageContainerDefinition.Builder extends SdkPojo, CopyableBuilder<ModelPackageContainerDefinition.Builder,ModelPackageContainerDefinition>
Modifier and Type | Method and Description |
---|---|
ModelPackageContainerDefinition.Builder |
containerHostname(String containerHostname)
The DNS host name for the Docker container.
|
ModelPackageContainerDefinition.Builder |
image(String image)
The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.
|
ModelPackageContainerDefinition.Builder |
imageDigest(String imageDigest)
An MD5 hash of the training algorithm that identifies the Docker image used for training.
|
ModelPackageContainerDefinition.Builder |
modelDataUrl(String modelDataUrl)
The Amazon S3 path where the model artifacts, which result from model training, are stored.
|
ModelPackageContainerDefinition.Builder |
productId(String productId)
The AWS Marketplace product ID of the model package.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ModelPackageContainerDefinition.Builder containerHostname(String containerHostname)
The DNS host name for the Docker container.
containerHostname
- The DNS host name for the Docker container.ModelPackageContainerDefinition.Builder image(String image)
The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.
If you are using your own custom algorithm instead of an algorithm provided by Amazon SageMaker, the
inference code must meet Amazon SageMaker requirements. Amazon SageMaker supports both
registry/repository[:tag]
and registry/repository[@digest]
image path formats. For
more information, see Using
Your Own Algorithms with Amazon SageMaker.
image
- The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.
If you are using your own custom algorithm instead of an algorithm provided by Amazon SageMaker, the
inference code must meet Amazon SageMaker requirements. Amazon SageMaker supports both
registry/repository[:tag]
and registry/repository[@digest]
image path
formats. For more information, see Using Your Own Algorithms
with Amazon SageMaker.
ModelPackageContainerDefinition.Builder imageDigest(String imageDigest)
An MD5 hash of the training algorithm that identifies the Docker image used for training.
imageDigest
- An MD5 hash of the training algorithm that identifies the Docker image used for training.ModelPackageContainerDefinition.Builder modelDataUrl(String 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.
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.
ModelPackageContainerDefinition.Builder productId(String productId)
The AWS Marketplace product ID of the model package.
productId
- The AWS Marketplace product ID of the model package.Copyright © 2021. All rights reserved.