public void setNameContains(String nameContains) {
        this.nameContains = nameContains;
    }
<p>
A string in the model name. This filter returns only models whose name contains the specified string.
</p>

@param nameContains
       A string in the model name. This filter returns only models whose name contains the specified string.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ListModelsRequest.java