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
BuildSuggesterrequest. 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 BuildSuggestersResultclone()booleanequals(Object obj)List<String>getFieldNames()inthashCode()voidsetFieldNames(Collection<String> fieldNames)StringtoString()Returns a string representation of this object; useful for testing and debugging.BuildSuggestersResultwithFieldNames(String... fieldNames)NOTE: This method appends the values to the existing list (if any).BuildSuggestersResultwithFieldNames(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public BuildSuggestersResult clone()
-
-