public java.util.List<Tag> getTags() {
        return tags;
    }
<p>
A list of key value pairs associated with the model. For more information, see <a
href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>
in the <i>Amazon Web Services General Reference Guide</i>.
</p>
<p>
If you supply <code>ModelPackageGroupName</code>, your model package belongs to the model group you specify and
uses the tags associated with the model group. In this case, you cannot supply a <code>tag</code> argument.
</p>

@return A list of key value pairs associated with the model. For more information, see <a
        href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services
        resources</a> in the <i>Amazon Web Services General Reference Guide</i>.</p>
        <p>
        If you supply <code>ModelPackageGroupName</code>, your model package belongs to the model group you
        specify and uses the tags associated with the model group. In this case, you cannot supply a
        <code>tag</code> argument.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/CreateModelPackageRequest.java