public CreateModelRequest withPrimaryContainer(ContainerDefinition primaryContainer) {
        setPrimaryContainer(primaryContainer);
        return this;
    }
<p>
The location of the primary docker image containing inference code, associated artifacts, and custom environment
map that the inference code uses when the model is deployed for predictions.
</p>

@param primaryContainer
       The location of the primary docker image containing inference code, associated artifacts, and custom
       environment map that the inference code uses when the model is deployed for predictions.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/CreateModelRequest.java