public static interface ContainerDefinition.Builder extends CopyableBuilder<ContainerDefinition.Builder,ContainerDefinition>
Modifier and Type | Method and Description |
---|---|
ContainerDefinition.Builder |
containerHostname(String containerHostname)
The DNS host name for the container after Amazon SageMaker deploys it.
|
ContainerDefinition.Builder |
environment(Map<String,String> environment)
The environment variables to set in the Docker container.
|
ContainerDefinition.Builder |
image(String image)
The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.
|
ContainerDefinition.Builder |
modelDataUrl(String modelDataUrl)
The S3 path where the model artifacts, which result from model training, are stored.
|
copy
applyMutation, build
ContainerDefinition.Builder containerHostname(String containerHostname)
The DNS host name for the container after Amazon SageMaker deploys it.
containerHostname
- The DNS host name for the container after Amazon SageMaker deploys it.ContainerDefinition.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. 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. For more information, see Using Your Own Algorithms
with Amazon SageMakerContainerDefinition.Builder modelDataUrl(String modelDataUrl)
The 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).
modelDataUrl
- The 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).ContainerDefinition.Builder environment(Map<String,String> 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.
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.