public class DescribeSuggestersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeSuggesters operation
.
Gets the suggesters configured for a domain. A suggester enables you
to display possible matches before users finish typing their queries.
Can be limited to specific suggesters by name. By default, shows all
suggesters and includes any pending changes to the configuration. Set
the Deployed
option to true
to show the
active configuration and exclude pending changes. For more
information, see
Getting Search Suggestions
in the Amazon CloudSearch Developer Guide .
NOOP
Constructor and Description |
---|
DescribeSuggestersRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeSuggestersRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Boolean |
getDeployed()
Whether to display the deployed configuration (
true ) or
include any pending changes (false ). |
String |
getDomainName()
The name of the domain you want to describe.
|
List<String> |
getSuggesterNames()
The suggesters you want to describe.
|
int |
hashCode() |
Boolean |
isDeployed()
Whether to display the deployed configuration (
true ) or
include any pending changes (false ). |
void |
setDeployed(Boolean deployed)
Whether to display the deployed configuration (
true ) or
include any pending changes (false ). |
void |
setDomainName(String domainName)
The name of the domain you want to describe.
|
void |
setSuggesterNames(Collection<String> suggesterNames)
The suggesters you want to describe.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeSuggestersRequest |
withDeployed(Boolean deployed)
Whether to display the deployed configuration (
true ) or
include any pending changes (false ). |
DescribeSuggestersRequest |
withDomainName(String domainName)
The name of the domain you want to describe.
|
DescribeSuggestersRequest |
withSuggesterNames(Collection<String> suggesterNames)
The suggesters you want to describe.
|
DescribeSuggestersRequest |
withSuggesterNames(String... suggesterNames)
The suggesters you want to describe.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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
- The name of the domain you want to describe.public DescribeSuggestersRequest 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
- The name of the domain you want to describe.public List<String> getSuggesterNames()
public void setSuggesterNames(Collection<String> suggesterNames)
suggesterNames
- The suggesters you want to describe.public DescribeSuggestersRequest withSuggesterNames(String... suggesterNames)
NOTE: This method appends the values to the existing list (if
any). Use setSuggesterNames(java.util.Collection)
or withSuggesterNames(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.
suggesterNames
- The suggesters you want to describe.public DescribeSuggestersRequest withSuggesterNames(Collection<String> suggesterNames)
Returns a reference to this object so that method calls can be chained together.
suggesterNames
- The suggesters you want to describe.public Boolean isDeployed()
true
) or
include any pending changes (false
). Defaults to
false
.true
) or
include any pending changes (false
). Defaults to
false
.public void setDeployed(Boolean deployed)
true
) or
include any pending changes (false
). Defaults to
false
.deployed
- Whether to display the deployed configuration (true
) or
include any pending changes (false
). Defaults to
false
.public DescribeSuggestersRequest withDeployed(Boolean deployed)
true
) or
include any pending changes (false
). Defaults to
false
.
Returns a reference to this object so that method calls can be chained together.
deployed
- Whether to display the deployed configuration (true
) or
include any pending changes (false
). Defaults to
false
.public Boolean getDeployed()
true
) or
include any pending changes (false
). Defaults to
false
.true
) or
include any pending changes (false
). Defaults to
false
.public String toString()
toString
in class Object
Object.toString()
public DescribeSuggestersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.