public SearchRequest withSearchIn(SearchInItem... searchIn) {
        if (this.searchIn == null) {
            setSearchIn(new java.util.ArrayList<SearchInItem>(searchIn.length));
        }
        for (SearchInItem ele : searchIn) {
            this.searchIn.add(ele);
        }
        return this;
    }
<p>
The details of the search.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSearchIn(java.util.Collection)} or {@link #withSearchIn(java.util.Collection)} if you want to override
the existing values.
</p>

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