public FiltersBuilder withLabels(Map<String, String> labels) {
        withFilter("label", labelsMapToList(labels).toArray(new String[labels.size()]));
        return this;
    }
public FiltersBuilder withLabels ( Map < String , String > labels ) { withFilter ( "label" , labelsMapToList ( labels ) . toArray ( new String [ labels . size ( ) ] ) ) ; return this ; }
Filter by labels

@param labels
{@link Map} of labels that contains label keys and values