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.
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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getDomainNames()
The names of the domains you want to include in the response.
public void setDomainNames(Collection<String> domainNames)
The names of the domains you want to include in the response.
domainNames
- The names of the domains you want to include in the response.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)
or
withDomainNames(java.util.Collection)
if you want to override
the existing values.
domainNames
- The names of the domains you want to include in the response.public DescribeDomainsRequest withDomainNames(Collection<String> domainNames)
The names of the domains you want to include in the response.
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 © 2013 Amazon Web Services, Inc. All Rights Reserved.