public class ListHostedZonesByNameRequest extends AmazonWebServiceRequest implements Serializable, 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.
NOOP
Constructor and Description |
---|
ListHostedZonesByNameRequest() |
Modifier and Type | Method and Description |
---|---|
ListHostedZonesByNameRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDNSName()
The first name in the lexicographic ordering of domain names that you
want the
ListHostedZonesByNameRequest request to list. |
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. |
String |
getMaxItems()
Specify the maximum number of hosted zones to return per page of results.
|
int |
hashCode() |
void |
setDNSName(String dNSName)
The first name in the lexicographic ordering of domain names that you
want the
ListHostedZonesByNameRequest request to list. |
void |
setHostedZoneId(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(String maxItems)
Specify the maximum number of hosted zones to return per page of results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListHostedZonesByNameRequest |
withDNSName(String dNSName)
The first name in the lexicographic ordering of domain names that you
want the
ListHostedZonesByNameRequest request to list. |
ListHostedZonesByNameRequest |
withHostedZoneId(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(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
public void setDNSName(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 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(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(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 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(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(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 String getMaxItems()
Specify the maximum number of hosted zones to return per page of results.
public ListHostedZonesByNameRequest withMaxItems(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 String toString()
toString
in class Object
Object.toString()
public ListHostedZonesByNameRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2018. All rights reserved.