public void setNameContains(String nameContains) {
        this.nameContains = nameContains;
    }
<p>
A filter you can use to search for workforces using part of the workforce name.
</p>

@param nameContains
       A filter you can use to search for workforces using part of the workforce name.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ListWorkforcesRequest.java