public class DescribeDomainsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeDomains operation
.
Gets information about the search domains owned by this account. Can
be limited to specific domains. Shows all domains by default. To get
the number of searchable documents in a domain, use the console or
submit a matchall
request to your domain's search
endpoint: q=matchall&q.parser=structured&size=0
. For
more information, see
Getting Information about a Search Domain
in the Amazon CloudSearch Developer Guide .
NOOP
Constructor and Description |
---|
DescribeDomainsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeDomainsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<String> |
getDomainNames()
The names of the domains you want to include in the response.
|
int |
hashCode() |
void |
setDomainNames(Collection<String> domainNames)
The names of the domains you want to include in the response.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeDomainsRequest |
withDomainNames(Collection<String> domainNames)
The names of the domains you want to include in the response.
|
DescribeDomainsRequest |
withDomainNames(String... domainNames)
The names of the domains you want to include in the response.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public List<String> getDomainNames()
public void setDomainNames(Collection<String> domainNames)
domainNames
- The names of the domains you want to include in the response.public DescribeDomainsRequest withDomainNames(String... domainNames)
NOTE: This method appends the values to the existing list (if
any). Use setDomainNames(java.util.Collection)
or withDomainNames(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.
domainNames
- The names of the domains you want to include in the response.public DescribeDomainsRequest withDomainNames(Collection<String> domainNames)
Returns a reference to this object so that method calls can be chained together.
domainNames
- The names of the domains you want to include in the response.public String toString()
toString
in class Object
Object.toString()
public DescribeDomainsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.