Class BuildSuggestersResult
- java.lang.Object
-
- com.amazonaws.services.cloudsearchv2.model.BuildSuggestersResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class BuildSuggestersResult extends Object implements Serializable, Cloneable
The result of a
BuildSuggester
request. Contains a list of the fields used for suggestions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BuildSuggestersResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildSuggestersResult
clone()
boolean
equals(Object obj)
List<String>
getFieldNames()
int
hashCode()
void
setFieldNames(Collection<String> fieldNames)
String
toString()
Returns a string representation of this object; useful for testing and debugging.BuildSuggestersResult
withFieldNames(String... fieldNames)
NOTE: This method appends the values to the existing list (if any).BuildSuggestersResult
withFieldNames(Collection<String> fieldNames)
-
-
-
Method Detail
-
setFieldNames
public void setFieldNames(Collection<String> fieldNames)
- Parameters:
fieldNames
-
-
withFieldNames
public BuildSuggestersResult withFieldNames(String... fieldNames)
NOTE: This method appends the values to the existing list (if any). Use
setFieldNames(java.util.Collection)
orwithFieldNames(java.util.Collection)
if you want to override the existing values.- Parameters:
fieldNames
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFieldNames
public BuildSuggestersResult withFieldNames(Collection<String> fieldNames)
- Parameters:
fieldNames
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public BuildSuggestersResult clone()
-
-