public static final class SearchResult.Builder extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
label |
private String |
match |
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SearchResult |
build() |
SearchResult.Builder |
label(String label)
Set the label for the search result.
|
SearchResult.Builder |
match(String match)
Set the matching string for the search result.
|
public SearchResult.Builder label(String label)
label - to setpublic SearchResult.Builder match(String match)
match - stringpublic SearchResult build()
Copyright © 2016 Apache NiFi Project. All rights reserved.