public SearchRequest withSearchScope(InventorySearchScope searchScope) {
        this.searchScope = searchScope.toString();
        return this;
    }
<p>
The scope of the search.
</p>

@param searchScope
       The scope of the search.
@return Returns a reference to this object so that method calls can be chained together.
@see InventorySearchScope
aws-java-sdk-datazoneexternal/src/main/java/com/amazonaws/services/datazone/model/SearchRequest.java