public class DefineSuggesterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DefineSuggester operation
.
Configures a suggester for a domain. A suggester enables you to display possible matches before users finish typing their queries. When you configure a suggester, you must specify the name of the text field you want to search for possible matches and a unique name for the suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide .
NOOP
Constructor and Description |
---|
DefineSuggesterRequest() |
Modifier and Type | Method and Description |
---|---|
DefineSuggesterRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDomainName()
A string that represents the name of a domain.
|
Suggester |
getSuggester()
Configuration information for a search suggester.
|
int |
hashCode() |
void |
setDomainName(String domainName)
A string that represents the name of a domain.
|
void |
setSuggester(Suggester suggester)
Configuration information for a search suggester.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DefineSuggesterRequest |
withDomainName(String domainName)
A string that represents the name of a domain.
|
DefineSuggesterRequest |
withSuggester(Suggester suggester)
Configuration information for a search suggester.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getDomainName()
Constraints:
Length: 3 - 28
Pattern: [a-z][a-z0-9\-]+
public void setDomainName(String domainName)
Constraints:
Length: 3 - 28
Pattern: [a-z][a-z0-9\-]+
domainName
- A string that represents the name of a domain. Domain names are unique
across the domains owned by an account within an AWS region. Domain
names start with a letter or number and can contain the following
characters: a-z (lowercase), 0-9, and - (hyphen).public DefineSuggesterRequest withDomainName(String domainName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 28
Pattern: [a-z][a-z0-9\-]+
domainName
- A string that represents the name of a domain. Domain names are unique
across the domains owned by an account within an AWS region. Domain
names start with a letter or number and can contain the following
characters: a-z (lowercase), 0-9, and - (hyphen).public Suggester getSuggester()
FuzzyMatching
, SortExpression
.FuzzyMatching
, SortExpression
.public void setSuggester(Suggester suggester)
FuzzyMatching
, SortExpression
.suggester
- Configuration information for a search suggester. Each suggester has a
unique name and specifies the text field you want to use for
suggestions. The following options can be configured for a suggester:
FuzzyMatching
, SortExpression
.public DefineSuggesterRequest withSuggester(Suggester suggester)
FuzzyMatching
, SortExpression
.
Returns a reference to this object so that method calls can be chained together.
suggester
- Configuration information for a search suggester. Each suggester has a
unique name and specifies the text field you want to use for
suggestions. The following options can be configured for a suggester:
FuzzyMatching
, SortExpression
.public String toString()
toString
in class Object
Object.toString()
public DefineSuggesterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.