public void setNameContains(String nameContains) {
        this.nameContains = nameContains;
    }
<p>
Filters the results to only those optimization jobs with a name that contains the specified string.
</p>

@param nameContains
       Filters the results to only those optimization jobs with a name that contains the specified string.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ListOptimizationJobsRequest.java