com.amazonaws.services.cloudsearchv2.model
Class DescribeDomainsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.cloudsearchv2.model.DescribeDomainsRequest
All Implemented Interfaces:
Serializable

public class DescribeDomainsRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the 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.

See Also:
AmazonCloudSearch.describeDomains(DescribeDomainsRequest), Serialized Form

Constructor Summary
DescribeDomainsRequest()
           
 
Method Summary
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeDomainsRequest

public DescribeDomainsRequest()
Method Detail

getDomainNames

public List<String> getDomainNames()
The names of the domains you want to include in the response.

Returns:
The names of the domains you want to include in the response.

setDomainNames

public void setDomainNames(Collection<String> domainNames)
The names of the domains you want to include in the response.

Parameters:
domainNames - The names of the domains you want to include in the response.

withDomainNames

public DescribeDomainsRequest withDomainNames(String... domainNames)
The names of the domains you want to include in the response.

Returns a reference to this object so that method calls can be chained together.

Parameters:
domainNames - The names of the domains you want to include in the response.
Returns:
A reference to this updated object so that method calls can be chained together.

withDomainNames

public DescribeDomainsRequest withDomainNames(Collection<String> domainNames)
The names of the domains you want to include in the response.

Returns a reference to this object so that method calls can be chained together.

Parameters:
domainNames - The names of the domains you want to include in the response.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.