public class ListDomainsRequest extends AmazonWebServiceRequest implements java.io.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(java.lang.Object obj) |
java.lang.Integer |
getMaxNumberOfDomains()
The maximum number of domain names you want returned.
|
java.lang.String |
getNextToken()
A string informing Amazon SimpleDB where to start the next list of
domain names.
|
int |
hashCode() |
void |
setMaxNumberOfDomains(java.lang.Integer maxNumberOfDomains)
The maximum number of domain names you want returned.
|
void |
setNextToken(java.lang.String nextToken)
A string informing Amazon SimpleDB where to start the next list of
domain names.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListDomainsRequest |
withMaxNumberOfDomains(java.lang.Integer maxNumberOfDomains)
The maximum number of domain names you want returned.
|
ListDomainsRequest |
withNextToken(java.lang.String nextToken)
A string informing Amazon SimpleDB where to start the next list of
domain names.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public ListDomainsRequest()
public java.lang.Integer getMaxNumberOfDomains()
public void setMaxNumberOfDomains(java.lang.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(java.lang.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 java.lang.String getNextToken()
public void setNextToken(java.lang.String nextToken)
nextToken
- A string informing Amazon SimpleDB where to start the next list of
domain names.public ListDomainsRequest withNextToken(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.