public CreateGroupRequest withFilterExpression(String filterExpression) {
        setFilterExpression(filterExpression);
        return this;
    }
<p>
The filter expression defining criteria by which to group traces.
</p>

@param filterExpression
       The filter expression defining criteria by which to group traces.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-xray/src/main/java/com/amazonaws/services/xray/model/CreateGroupRequest.java