public class BuildSuggestersResult extends Object implements Serializable, Cloneable
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 |
|---|---|
BuildSuggestersResult |
clone() |
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)
NOTE: This method appends the values to the existing list (if
any). Use setFieldNames(java.util.Collection) or withFieldNames(java.util.Collection) if you want to override the
existing values.
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 ObjectObject.toString()public BuildSuggestersResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.