public String getImage() {
        return this.image;
    }
<p>
The path where inference code is stored. This can be either in Amazon EC2 Container Registry or in a Docker
registry that is accessible from the same VPC that you configure for your endpoint. 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 <code>registry/repository[:tag]</code> and
<code>registry/repository[@digest]</code> image path formats. For more information, see <a
href="https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html">Using Your Own Algorithms with Amazon
SageMaker</a>.
</p>
<note>
<p>
The model artifacts in an Amazon S3 bucket and the Docker image for inference container in Amazon EC2 Container
Registry must be in the same region as the model or endpoint you are creating.
</p>
</note>

@return The path where inference code is stored. This can be either in Amazon EC2 Container Registry or in a
        Docker registry that is accessible from the same VPC that you configure for your endpoint. 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 <code>registry/repository[:tag]</code> and
        <code>registry/repository[@digest]</code> image path formats. For more information, see <a
        href="https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html">Using Your Own Algorithms
        with Amazon SageMaker</a>. </p> <note>
        <p>
        The model artifacts in an Amazon S3 bucket and the Docker image for inference container in Amazon EC2
        Container Registry must be in the same region as the model or endpoint you are creating.
        </p>
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ContainerDefinition.java