public void setNamePrefix(String namePrefix) {
        this.namePrefix = namePrefix;
    }
<p>
Filters only groups with the provided name prefix.
</p>

@param namePrefix
       Filters only groups with the provided name prefix.
aws-java-sdk-workmail/src/main/java/com/amazonaws/services/workmail/model/ListGroupsFilters.java