Class DescribeSuggestersResult
- java.lang.Object
-
- com.amazonaws.services.cloudsearchv2.model.DescribeSuggestersResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeSuggestersResult extends Object implements Serializable, Cloneable
The result of a
DescribeSuggesters
request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeSuggestersResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeSuggestersResult
clone()
boolean
equals(Object obj)
List<SuggesterStatus>
getSuggesters()
The suggesters configured for the domain specified in the request.int
hashCode()
void
setSuggesters(Collection<SuggesterStatus> suggesters)
The suggesters configured for the domain specified in the request.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeSuggestersResult
withSuggesters(SuggesterStatus... suggesters)
The suggesters configured for the domain specified in the request.DescribeSuggestersResult
withSuggesters(Collection<SuggesterStatus> suggesters)
The suggesters configured for the domain specified in the request.
-
-
-
Method Detail
-
getSuggesters
public List<SuggesterStatus> getSuggesters()
The suggesters configured for the domain specified in the request.
- Returns:
- The suggesters configured for the domain specified in the request.
-
setSuggesters
public void setSuggesters(Collection<SuggesterStatus> suggesters)
The suggesters configured for the domain specified in the request.
- Parameters:
suggesters
- The suggesters configured for the domain specified in the request.
-
withSuggesters
public DescribeSuggestersResult withSuggesters(SuggesterStatus... suggesters)
The suggesters configured for the domain specified in the request.
NOTE: This method appends the values to the existing list (if any). Use
setSuggesters(java.util.Collection)
orwithSuggesters(java.util.Collection)
if you want to override the existing values.- Parameters:
suggesters
- The suggesters configured for the domain specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSuggesters
public DescribeSuggestersResult withSuggesters(Collection<SuggesterStatus> suggesters)
The suggesters configured for the domain specified in the request.
- Parameters:
suggesters
- The suggesters configured for the domain specified in the request.- 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 DescribeSuggestersResult clone()
-
-