Class DescribeDomainsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.cloudsearchv2.model.DescribeDomainsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DescribeDomainsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Container for the parameters to the
DescribeDomains
operation. By default shows the status of all domains. To restrict the response to particular domains, specify the names of the domains you want to describe.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeDomainsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(String... domainNames)
The names of the domains you want to include in the response.DescribeDomainsRequest
withDomainNames(Collection<String> domainNames)
The names of the domains you want to include in the response.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
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.
NOTE: This method appends the values to the existing list (if any). Use
setDomainNames(java.util.Collection)
orwithDomainNames(java.util.Collection)
if you want to override the existing values.- Parameters:
domainNames
- The names of the domains you want to include in the response.- Returns:
- Returns a reference to this 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.
- Parameters:
domainNames
- The names of the domains you want to include in the response.- 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 DescribeDomainsRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-