public AssessmentRunFilter withNamePattern(String namePattern) {
        setNamePattern(namePattern);
        return this;
    }
<p>
For a record to match a filter, an explicit value or a string containing a wildcard that is specified for this
data type property must match the value of the <b>assessmentRunName</b> property of the <a>AssessmentRun</a> data
type.
</p>

@param namePattern
       For a record to match a filter, an explicit value or a string containing a wildcard that is specified for
       this data type property must match the value of the <b>assessmentRunName</b> property of the
       <a>AssessmentRun</a> data type.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/AssessmentRunFilter.java