Class ListHostedZonesByNameRequest
- All Implemented Interfaces:
ReadLimitInfo
,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.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The first name in the lexicographic ordering of domain names that you want theListHostedZonesByNameRequest
request to list.If the request returned more than one page of results, submit another request and specify the value ofNextDNSName
andNextHostedZoneId
from the last response in theDNSName
andHostedZoneId
parameters to get the next page of results.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 theListHostedZonesByNameRequest
request to list.void
setHostedZoneId
(String hostedZoneId) If the request returned more than one page of results, submit another request and specify the value ofNextDNSName
andNextHostedZoneId
from the last response in theDNSName
andHostedZoneId
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.toString()
Returns a string representation of this object; useful for testing and debugging.withDNSName
(String dNSName) The first name in the lexicographic ordering of domain names that you want theListHostedZonesByNameRequest
request to list.withHostedZoneId
(String hostedZoneId) If the request returned more than one page of results, submit another request and specify the value ofNextDNSName
andNextHostedZoneId
from the last response in theDNSName
andHostedZoneId
parameters to get the next page of results.withMaxItems
(String maxItems) Specify the maximum number of hosted zones to return per page of results.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
ListHostedZonesByNameRequest
public ListHostedZonesByNameRequest()
-
-
Method Details
-
setDNSName
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
andNextHostedZoneId
from the last response in theDNSName
andHostedZoneId
parameters to get the next page of results.- Parameters:
dNSName
- The first name in the lexicographic ordering of domain names that you want theListHostedZonesByNameRequest
request to list.If the request returned more than one page of results, submit another request and specify the value of
NextDNSName
andNextHostedZoneId
from the last response in theDNSName
andHostedZoneId
parameters to get the next page of results.
-
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
andNextHostedZoneId
from the last response in theDNSName
andHostedZoneId
parameters to get the next page of results.- Returns:
- 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
andNextHostedZoneId
from the last response in theDNSName
andHostedZoneId
parameters to get the next page of results.
-
withDNSName
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
andNextHostedZoneId
from the last response in theDNSName
andHostedZoneId
parameters to get the next page of results.- Parameters:
dNSName
- The first name in the lexicographic ordering of domain names that you want theListHostedZonesByNameRequest
request to list.If the request returned more than one page of results, submit another request and specify the value of
NextDNSName
andNextHostedZoneId
from the last response in theDNSName
andHostedZoneId
parameters to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHostedZoneId
If the request returned more than one page of results, submit another request and specify the value of
NextDNSName
andNextHostedZoneId
from the last response in theDNSName
andHostedZoneId
parameters to get the next page of results.- Parameters:
hostedZoneId
- If the request returned more than one page of results, submit another request and specify the value ofNextDNSName
andNextHostedZoneId
from the last response in theDNSName
andHostedZoneId
parameters to get the next page of results.
-
getHostedZoneId
If the request returned more than one page of results, submit another request and specify the value of
NextDNSName
andNextHostedZoneId
from the last response in theDNSName
andHostedZoneId
parameters to get the next page of results.- Returns:
- If the request returned more than one page of results, submit
another request and specify the value of
NextDNSName
andNextHostedZoneId
from the last response in theDNSName
andHostedZoneId
parameters to get the next page of results.
-
withHostedZoneId
If the request returned more than one page of results, submit another request and specify the value of
NextDNSName
andNextHostedZoneId
from the last response in theDNSName
andHostedZoneId
parameters to get the next page of results.- Parameters:
hostedZoneId
- If the request returned more than one page of results, submit another request and specify the value ofNextDNSName
andNextHostedZoneId
from the last response in theDNSName
andHostedZoneId
parameters to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxItems
Specify the maximum number of hosted zones to return per page of results.
- Parameters:
maxItems
- Specify the maximum number of hosted zones to return per page of results.
-
getMaxItems
Specify the maximum number of hosted zones to return per page of results.
- Returns:
- Specify the maximum number of hosted zones to return per page of results.
-
withMaxItems
Specify the maximum number of hosted zones to return per page of results.
- Parameters:
maxItems
- Specify the maximum number of hosted zones to return per page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-