public void setImageConfig(ImageConfig imageConfig) {
        this.imageConfig = imageConfig;
    }
<p>
Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon
Virtual Private Cloud (VPC). For information about storing containers in a private Docker registry, see <a
href="https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-containers-inference-private.html">Use a
Private Docker Registry for Real-Time Inference Containers</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>

@param imageConfig
       Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your
       Amazon Virtual Private Cloud (VPC). For information about storing containers in a private Docker registry,
       see <a
       href="https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-containers-inference-private.html"
       >Use a Private Docker Registry for Real-Time Inference Containers</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