@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModelPackageContainerDefinition extends Object implements Serializable, Cloneable, StructuredPojo
Describes the Docker container for the model package.
| Constructor and Description | 
|---|
| ModelPackageContainerDefinition() | 
| Modifier and Type | Method and Description | 
|---|---|
| ModelPackageContainerDefinition | clone() | 
| boolean | equals(Object obj) | 
| String | getContainerHostname()
 The DNS host name for the Docker container. | 
| String | getImage()
 The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored. | 
| String | getImageDigest()
 An MD5 hash of the training algorithm that identifies the Docker image used for training. | 
| String | getModelDataUrl()
 The Amazon S3 path where the model artifacts, which result from model training, are stored. | 
| String | getProductId()
 The AWS Marketplace product ID of the model package. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setContainerHostname(String containerHostname)
 The DNS host name for the Docker container. | 
| void | setImage(String image)
 The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored. | 
| void | setImageDigest(String imageDigest)
 An MD5 hash of the training algorithm that identifies the Docker image used for training. | 
| void | setModelDataUrl(String modelDataUrl)
 The Amazon S3 path where the model artifacts, which result from model training, are stored. | 
| void | setProductId(String productId)
 The AWS Marketplace product ID of the model package. | 
| String | toString()Returns a string representation of this object. | 
| ModelPackageContainerDefinition | withContainerHostname(String containerHostname)
 The DNS host name for the Docker container. | 
| ModelPackageContainerDefinition | withImage(String image)
 The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored. | 
| ModelPackageContainerDefinition | withImageDigest(String imageDigest)
 An MD5 hash of the training algorithm that identifies the Docker image used for training. | 
| ModelPackageContainerDefinition | withModelDataUrl(String modelDataUrl)
 The Amazon S3 path where the model artifacts, which result from model training, are stored. | 
| ModelPackageContainerDefinition | withProductId(String productId)
 The AWS Marketplace product ID of the model package. | 
public void setContainerHostname(String containerHostname)
The DNS host name for the Docker container.
containerHostname - The DNS host name for the Docker container.public String getContainerHostname()
The DNS host name for the Docker container.
public ModelPackageContainerDefinition withContainerHostname(String containerHostname)
The DNS host name for the Docker container.
containerHostname - The DNS host name for the Docker container.public void setImage(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.
public String getImage()
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.
 
         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.
public ModelPackageContainerDefinition withImage(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.
public void setImageDigest(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.public String getImageDigest()
An MD5 hash of the training algorithm that identifies the Docker image used for training.
public ModelPackageContainerDefinition withImageDigest(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.public void setModelDataUrl(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.
public String getModelDataUrl()
 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.
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.
public ModelPackageContainerDefinition withModelDataUrl(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.
public void setProductId(String productId)
The AWS Marketplace product ID of the model package.
productId - The AWS Marketplace product ID of the model package.public String getProductId()
The AWS Marketplace product ID of the model package.
public ModelPackageContainerDefinition withProductId(String productId)
The AWS Marketplace product ID of the model package.
productId - The AWS Marketplace product ID of the model package.public String toString()
toString in class ObjectObject.toString()public ModelPackageContainerDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.