public class ListDomainsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ListDomains operation
.
The ListDomains
operation lists all domains associated
with the Access Key ID. It returns domain names up to the limit set by
MaxNumberOfDomains. A NextToken is returned if there are more than
MaxNumberOfDomains
domains. Calling
ListDomains
successive times with the
NextToken
provided by the operation returns up to
MaxNumberOfDomains
more domain names with each successive
operation call.
NOOP
Constructor and Description |
---|
ListDomainsRequest()
Default constructor for a new ListDomainsRequest object.
|
Modifier and Type | Method and Description |
---|---|
ListDomainsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Integer |
getMaxNumberOfDomains()
The maximum number of domain names you want returned.
|
String |
getNextToken()
A string informing Amazon SimpleDB where to start the next list of
domain names.
|
int |
hashCode() |
void |
setMaxNumberOfDomains(Integer maxNumberOfDomains)
The maximum number of domain names you want returned.
|
void |
setNextToken(String nextToken)
A string informing Amazon SimpleDB where to start the next list of
domain names.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListDomainsRequest |
withMaxNumberOfDomains(Integer maxNumberOfDomains)
The maximum number of domain names you want returned.
|
ListDomainsRequest |
withNextToken(String nextToken)
A string informing Amazon SimpleDB where to start the next list of
domain names.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public ListDomainsRequest()
public Integer getMaxNumberOfDomains()
public void setMaxNumberOfDomains(Integer maxNumberOfDomains)
maxNumberOfDomains
- The maximum number of domain names you want returned. The range is 1
to 100. The default setting is 100.public ListDomainsRequest withMaxNumberOfDomains(Integer maxNumberOfDomains)
Returns a reference to this object so that method calls can be chained together.
maxNumberOfDomains
- The maximum number of domain names you want returned. The range is 1
to 100. The default setting is 100.public String getNextToken()
public void setNextToken(String nextToken)
nextToken
- A string informing Amazon SimpleDB where to start the next list of
domain names.public ListDomainsRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken
- A string informing Amazon SimpleDB where to start the next list of
domain names.public String toString()
toString
in class Object
Object.toString()
public ListDomainsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.