public SearchChannelsRequest withFields(java.util.Collection<SearchField> fields) {
        setFields(fields);
        return this;
    }
<p>
A list of the <code>Field</code> objects in the channel being searched.
</p>

@param fields
       A list of the <code>Field</code> objects in the channel being searched.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-chimesdkmessaging/src/main/java/com/amazonaws/services/chimesdkmessaging/model/SearchChannelsRequest.java