public class BuildSuggestersResult extends Object implements Serializable
The result of a BuildSuggester
request. Contains a list
of the fields used for suggestions.
Constructor and Description |
---|
BuildSuggestersResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<String> |
getFieldNames()
A list of field names.
|
int |
hashCode() |
void |
setFieldNames(Collection<String> fieldNames)
A list of field names.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BuildSuggestersResult |
withFieldNames(Collection<String> fieldNames)
A list of field names.
|
BuildSuggestersResult |
withFieldNames(String... fieldNames)
A list of field names.
|
public List<String> getFieldNames()
public void setFieldNames(Collection<String> fieldNames)
fieldNames
- A list of field names.public BuildSuggestersResult withFieldNames(String... fieldNames)
Returns a reference to this object so that method calls can be chained together.
fieldNames
- A list of field names.public BuildSuggestersResult withFieldNames(Collection<String> fieldNames)
Returns a reference to this object so that method calls can be chained together.
fieldNames
- A list of field names.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.