public class ListDomainsRequest extends AmazonWebServiceRequest implements Serializable
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.
Constructor and Description |
---|
ListDomainsRequest()
Default constructor for a new ListDomainsRequest object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, 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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.