public class ListHostedZonesByNameRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
To retrieve a list of your hosted zones in lexicographic order, send a
GET
request to the
/Route 53 API version/hostedzonesbyname
resource. The
response to this request includes a HostedZones
element with
zero or more HostedZone
child elements lexicographically ordered
by DNS name. By default, the list of hosted zones is displayed on a single
page. You can control the length of the page that is displayed by using the
MaxItems
parameter. You can use the DNSName
and
HostedZoneId
parameters to control the hosted zone that the list
begins with.
For more information about listing hosted zones, see Listing the Hosted Zones for an AWS Account in the Amazon Route 53 Developer Guide.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
dNSName
The first name in the lexicographic ordering of domain names that you
want the
ListHostedZonesByNameRequest request to list. |
private java.lang.String |
hostedZoneId
If the request returned more than one page of results, submit another
request and specify the value of
NextDNSName and
NextHostedZoneId from the last response in the
DNSName and HostedZoneId parameters to get the
next page of results. |
private java.lang.String |
maxItems
Specify the maximum number of hosted zones to return per page of results.
|
NOOP
Constructor and Description |
---|
ListHostedZonesByNameRequest() |
Modifier and Type | Method and Description |
---|---|
ListHostedZonesByNameRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDNSName()
The first name in the lexicographic ordering of domain names that you
want the
ListHostedZonesByNameRequest request to list. |
java.lang.String |
getHostedZoneId()
If the request returned more than one page of results, submit another
request and specify the value of
NextDNSName and
NextHostedZoneId from the last response in the
DNSName and HostedZoneId parameters to get the
next page of results. |
java.lang.String |
getMaxItems()
Specify the maximum number of hosted zones to return per page of results.
|
int |
hashCode() |
void |
setDNSName(java.lang.String dNSName)
The first name in the lexicographic ordering of domain names that you
want the
ListHostedZonesByNameRequest request to list. |
void |
setHostedZoneId(java.lang.String hostedZoneId)
If the request returned more than one page of results, submit another
request and specify the value of
NextDNSName and
NextHostedZoneId from the last response in the
DNSName and HostedZoneId parameters to get the
next page of results. |
void |
setMaxItems(java.lang.String maxItems)
Specify the maximum number of hosted zones to return per page of results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListHostedZonesByNameRequest |
withDNSName(java.lang.String dNSName)
The first name in the lexicographic ordering of domain names that you
want the
ListHostedZonesByNameRequest request to list. |
ListHostedZonesByNameRequest |
withHostedZoneId(java.lang.String hostedZoneId)
If the request returned more than one page of results, submit another
request and specify the value of
NextDNSName and
NextHostedZoneId from the last response in the
DNSName and HostedZoneId parameters to get the
next page of results. |
ListHostedZonesByNameRequest |
withMaxItems(java.lang.String maxItems)
Specify the maximum number of hosted zones to return per page of results.
|
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 java.lang.String dNSName
The first name in the lexicographic ordering of domain names that you
want the ListHostedZonesByNameRequest
request to list.
If the request returned more than one page of results, submit another
request and specify the value of NextDNSName
and
NextHostedZoneId
from the last response in the
DNSName
and HostedZoneId
parameters to get the
next page of results.
private java.lang.String hostedZoneId
If the request returned more than one page of results, submit another
request and specify the value of NextDNSName
and
NextHostedZoneId
from the last response in the
DNSName
and HostedZoneId
parameters to get the
next page of results.
private java.lang.String maxItems
Specify the maximum number of hosted zones to return per page of results.
public void setDNSName(java.lang.String dNSName)
The first name in the lexicographic ordering of domain names that you
want the ListHostedZonesByNameRequest
request to list.
If the request returned more than one page of results, submit another
request and specify the value of NextDNSName
and
NextHostedZoneId
from the last response in the
DNSName
and HostedZoneId
parameters to get the
next page of results.
dNSName
- The first name in the lexicographic ordering of domain names that
you want the ListHostedZonesByNameRequest
request to
list.
If the request returned more than one page of results, submit
another request and specify the value of NextDNSName
and NextHostedZoneId
from the last response in the
DNSName
and HostedZoneId
parameters to
get the next page of results.
public java.lang.String getDNSName()
The first name in the lexicographic ordering of domain names that you
want the ListHostedZonesByNameRequest
request to list.
If the request returned more than one page of results, submit another
request and specify the value of NextDNSName
and
NextHostedZoneId
from the last response in the
DNSName
and HostedZoneId
parameters to get the
next page of results.
ListHostedZonesByNameRequest
request to
list.
If the request returned more than one page of results, submit
another request and specify the value of NextDNSName
and NextHostedZoneId
from the last response in the
DNSName
and HostedZoneId
parameters to
get the next page of results.
public ListHostedZonesByNameRequest withDNSName(java.lang.String dNSName)
The first name in the lexicographic ordering of domain names that you
want the ListHostedZonesByNameRequest
request to list.
If the request returned more than one page of results, submit another
request and specify the value of NextDNSName
and
NextHostedZoneId
from the last response in the
DNSName
and HostedZoneId
parameters to get the
next page of results.
dNSName
- The first name in the lexicographic ordering of domain names that
you want the ListHostedZonesByNameRequest
request to
list.
If the request returned more than one page of results, submit
another request and specify the value of NextDNSName
and NextHostedZoneId
from the last response in the
DNSName
and HostedZoneId
parameters to
get the next page of results.
public void setHostedZoneId(java.lang.String hostedZoneId)
If the request returned more than one page of results, submit another
request and specify the value of NextDNSName
and
NextHostedZoneId
from the last response in the
DNSName
and HostedZoneId
parameters to get the
next page of results.
hostedZoneId
- If the request returned more than one page of results, submit
another request and specify the value of NextDNSName
and NextHostedZoneId
from the last response in the
DNSName
and HostedZoneId
parameters to
get the next page of results.public java.lang.String getHostedZoneId()
If the request returned more than one page of results, submit another
request and specify the value of NextDNSName
and
NextHostedZoneId
from the last response in the
DNSName
and HostedZoneId
parameters to get the
next page of results.
NextDNSName
and NextHostedZoneId
from the last response in the
DNSName
and HostedZoneId
parameters to
get the next page of results.public ListHostedZonesByNameRequest withHostedZoneId(java.lang.String hostedZoneId)
If the request returned more than one page of results, submit another
request and specify the value of NextDNSName
and
NextHostedZoneId
from the last response in the
DNSName
and HostedZoneId
parameters to get the
next page of results.
hostedZoneId
- If the request returned more than one page of results, submit
another request and specify the value of NextDNSName
and NextHostedZoneId
from the last response in the
DNSName
and HostedZoneId
parameters to
get the next page of results.public void setMaxItems(java.lang.String maxItems)
Specify the maximum number of hosted zones to return per page of results.
maxItems
- Specify the maximum number of hosted zones to return per page of
results.public java.lang.String getMaxItems()
Specify the maximum number of hosted zones to return per page of results.
public ListHostedZonesByNameRequest withMaxItems(java.lang.String maxItems)
Specify the maximum number of hosted zones to return per page of results.
maxItems
- Specify the maximum number of hosted zones to return per page of
results.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 ListHostedZonesByNameRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()