public String getNameContains() {
        return this.nameContains;
    }
<p>
A string in the model package name. This filter returns only model packages whose name contains the specified
string.
</p>

@return A string in the model package name. This filter returns only model packages whose name contains the
        specified string.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ListModelPackagesRequest.java