public InferenceSpecification getInferenceSpecification() {
        return this.inferenceSpecification;
    }
<p>
Specifies details about inference jobs that you can run with models based on this model package, including the
following information:
</p>
<ul>
<li>
<p>
The Amazon ECR paths of containers that contain the inference code and model artifacts.
</p>
</li>
<li>
<p>
The instance types that the model package supports for transform jobs and real-time endpoints used for inference.
</p>
</li>
<li>
<p>
The input and output content formats that the model package supports for inference.
</p>
</li>
</ul>

@return Specifies details about inference jobs that you can run with models based on this model package,
        including the following information:</p>
        <ul>
        <li>
        <p>
        The Amazon ECR paths of containers that contain the inference code and model artifacts.
        </p>
        </li>
        <li>
        <p>
        The instance types that the model package supports for transform jobs and real-time endpoints used for
        inference.
        </p>
        </li>
        <li>
        <p>
        The input and output content formats that the model package supports for inference.
        </p>
        </li>
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/CreateModelPackageRequest.java