public class DescribeDomainsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.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.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
domainNames
The names of the domains you want to include in the response.
|
NOOP
Constructor and Description |
---|
DescribeDomainsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeDomainsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getDomainNames()
The names of the domains you want to include in the response.
|
int |
hashCode() |
void |
setDomainNames(java.util.Collection<java.lang.String> domainNames)
The names of the domains you want to include in the response.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeDomainsRequest |
withDomainNames(java.util.Collection<java.lang.String> domainNames)
The names of the domains you want to include in the response.
|
DescribeDomainsRequest |
withDomainNames(java.lang.String... domainNames)
The names of the domains you want to include in the response.
|
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
private SdkInternalList<java.lang.String> domainNames
The names of the domains you want to include in the response.
public java.util.List<java.lang.String> getDomainNames()
The names of the domains you want to include in the response.
public void setDomainNames(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeDomainsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()